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

[Feature Request] New option base. (Aka base path, public path, asssets URL root.) #148

Open
brillout opened this issue Nov 30, 2022 · 0 comments

Comments

@brillout
Copy link

First off, thank you for building sirv, it's a really neat tool.

I've this use case where assets should be served from a different URL root, in my case /assets/. For example /home/brillout/my-project/publicDir/logo.svg should be served at /assets/logo.svg instead of /logo.svg.

The feature request is to be able set a new option base to the value /assets/ making sirv serve all assets at /assets/*.

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

1 participant