We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey 👋
I’m serving my sites from two diff domains:
How do I make sure my static files will be served properly?
Because whatever version i tried it only supported one of the two each time
Thanks!
The text was updated successfully, but these errors were encountered:
Hi @tzookb I believe you can just create two different middlewares ?
app.use(serve({rootDir: 'web'})) app.use(serve({rootDir: site/folder', rootPath: '/web'}))
you might also want to use last: false with the first route
last: false
Sorry, something went wrong.
Nice I’ll surely try it out. My current hack I did is adding a middleware that remove the extra path from the url
No branches or pull requests
Hey 👋
I’m serving my sites from two diff domains:
How do I make sure my static files will be served properly?
Because whatever version i tried it only supported one of the two each time
Thanks!
The text was updated successfully, but these errors were encountered: