-
Notifications
You must be signed in to change notification settings - Fork 84
Proposal: Prefix Config Option #153
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
Labels
Comments
👍 - This would mesh very well with Ember CLI's concept of |
hugojosefson
added a commit
to hugojosefson/superstatic
that referenced
this issue
Oct 16, 2020
hugojosefson
added a commit
to hugojosefson/superstatic
that referenced
this issue
Jun 7, 2023
hugojosefson
added a commit
to hugojosefson/superstatic
that referenced
this issue
Jun 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I propose that we offer the ability to prefix how Superstatic serves an app. For example:
If a prefix is added (it can be any valid pathname), the root directory is served only from that prefix, so "about.html" gets served at "blog/about.html"
All other configuration options including proxies etc. should apply, however they should also work as if the prefix is the root of the app. So a proxy of "/api" would be available at "/blog/api"
This will be useful for third-party developers using Superstatic as a middleware as it will let them easily mount to a prefix.
As to why it's useful for Divshot's future plans, I'll leave it to speculation. 😄
The text was updated successfully, but these errors were encountered: