-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Dynamically map N subdomains to a folder #6
Comments
From my understanding, let's say you have 2 subdomains
but even in this case, if you create a folder at consider this is your pages tree
so even in this version, the
and for getting the current subdomain, so yes I will add it in future releases, I'll export a variable for the current subdomain. |
Hi @madhusudanbabar, thanks for your reply. I think we're almost on it but not yet. The deal is that I don't want a "store" route. The desired URLs would be:
I understand that I could put all those routes directly on Also, there are another deal: the names and the number of subdomains is unknow. A new user could arrive at the platform landing page and create a new account, registering a custom subdomain for their needs. So, is it possible to update on-the-fly the |
sorry for the late reply, |
是的,我也想要通过 * 泛域名指向pages里不同的文件夹 |
I also have the same problem, its like a blog site, where my clients can choose different subdomain they want. can we use this module in that purpose? or only have static use case? |
Came here looking to have *.domain.com go to something like |
@madhusudanbabar was the variable for exposing current subdomain ever added? |
First of all, nice work done with this package.
Now, imagine this use case:
bestshoes.myplatform.com
orfoodsite.myplatform.com
. And for sure we'd need to be able to get the current subdomain to use it as a param form API requests, so we can get the right data for each store.Is it possible right now? Or is it even viable with some work in this module code?
The text was updated successfully, but these errors were encountered: