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
Is your feature request related to a problem? Please describe.
I'm building an app which can be deployed in different environments like prod, staging and beta...
for now I solved my problem using env variables to setup de domain config inside the middleware, but I think is a good idea to allow regex for domain detection because can work for multi tenancy apps...
Describe the solution you'd like
allow domain: "*.domain.com" in middleware config and use regex to match, this approach can work with dynamic domains.
also domain: ["*.domain.com", admin.domain.com] would be a good option
Describe alternatives you've considered
N/A
The text was updated successfully, but these errors were encountered:
I solved my problem using env variables to setup de domain config inside the middleware
That's what I'd recommend too.
Supporting wildcards is currently not planned. We might accept domains for the navigation APIs in the future too and wildcards wouldn't work there. Please see #444 (comment).
Is your feature request related to a problem? Please describe.
I'm building an app which can be deployed in different environments like prod, staging and beta...
for now I solved my problem using env variables to setup de domain config inside the middleware, but I think is a good idea to allow regex for domain detection because can work for multi tenancy apps...
Describe the solution you'd like
allow
domain: "*.domain.com"
in middleware config and use regex to match, this approach can work with dynamic domains.also
domain: ["*.domain.com", admin.domain.com]
would be a good optionDescribe alternatives you've considered
N/A
The text was updated successfully, but these errors were encountered: