You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to route the wildcard subdomain https://*.localhost:8080 to https://*.mydomain.com. I recognize that this is achievable by using a function router. However I'm not sure if it's possible to make other config fields dynamic based on the request url. For example, I also need cookieDomainRewrite and headers to change based on the subdomain.
Ideally I'd like to be able to do something like the following example, where the config can be re-computed for each request.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I need to route the wildcard subdomain
https://*.localhost:8080
tohttps://*.mydomain.com
. I recognize that this is achievable by using a function router. However I'm not sure if it's possible to make other config fields dynamic based on the request url. For example, I also needcookieDomainRewrite
andheaders
to change based on the subdomain.Ideally I'd like to be able to do something like the following example, where the config can be re-computed for each request.
From reading the documentation, I'm not sure if this is currently achievable with the library. But if you have any ideas, I'd greatly appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions