Add runtime config support #1569
sickfar
started this conversation in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At least for cookies it's very useful to add a runtime configuration support.
For example, I have three environments: dev, staging and prod like this:
and I have subdomains "app" and "m" which are desktop and mobile versions respectively.
I want cookie to be shared across the subdomains "app" and "m", but not across environments, so here goes runtime config:
Right now I'm doing a dirty hack in my plugin to achieve this (and it works both client and server sides):
UPD: It does not work, so I have to recompile only :(
Otherwise I had to recompile my app for every environment
Beta Was this translation helpful? Give feedback.
All reactions