feat: Enable to configure app prefix in environment variable #34
Labels
No labels
bug
docs
duplicate
enhancement
good first issue
help wanted
question
type: js
type: ruby
unsure
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dan/siteinspector#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be nice to have a environment variable like
URL_APP_PREFIXin order to allow relocate the app.Then we could serve the app more easily at url such as
https://tools.mycompany.com/<URL_APP_PREFIX>without having to resort to complex rewrite in reverse proxy.From a quick look through the solution, it seems we might have at least to scope the ruby routes and change webpack output path.
How does this relate to https://github.com/siteinspector/siteinspector/issues/8? I'm currently trying to run siteinspector on
mydomain.com/site-inspector/using an nginx reverse proxy, and am unsure what the path of least resistance is.Edit: I'm happy to help with coding, but I've never worked with Ruby and am not quite sure what best practises are in terms of dev environment.
Improvement: Enable to configure app prefix in environment variableto feat: Enable to configure app prefix in environment variable