-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support for custom URL roots #67
Comments
@ivanbakel I believe the code already supports this. Please take a look at the following function - odd-jobs/src/OddJobs/Endpoints.hs Lines 77 to 83 in ab15d8b
Are you starting the web UI via the default command-line? We can probably add another flag |
Good to know, thanks! I am using the default command-line settings to start the web UI, so a flag would be really useful. I'll make a PR to support doing that. |
@ivanbakel before you work on the PR, please take a look at #76 -- this might make your PR easier. |
I'm looking into using odd-jobs to replace a home-spun job queue implementation. The web UI is really useful, but I would like to put it behind a subpath on an auth-protected domain which I use for all my dev UIs, so that I can still access it remotely.
Currently, I using a reverse-proxy to do that - so the web UI is served on a URL like
and that routes to
However, the UI doesn't currently really support this. All of the static assets and links are broken, since they expect to be served from the URL root
/
, rather than the/jobs/
path. It would be great if odd-jobs would support custom URL roots, so I could use it in the above way.The text was updated successfully, but these errors were encountered: