Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling dynamic subdomains #116

Open
1337haxx0r opened this issue Mar 25, 2023 · 1 comment
Open

Handling dynamic subdomains #116

1337haxx0r opened this issue Mar 25, 2023 · 1 comment

Comments

@1337haxx0r
Copy link

So, I am building a project that I would like to use dynamically generated subdomains (let's say for user username.domain.com. How would I handle them in router? is there a way at all in this verison?

@daveh
Copy link
Owner

daveh commented Mar 27, 2023

The router doesn't deal with subdomains as it is, but you could modify it to route based on the subdomain if you wanted to. Alternatively, you could do it in the base controller class instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants