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

Configuring base URL prefix #58

Open
LukeKeywalker opened this issue Nov 4, 2021 · 1 comment
Open

Configuring base URL prefix #58

LukeKeywalker opened this issue Nov 4, 2021 · 1 comment
Assignees

Comments

@LukeKeywalker
Copy link

I plan to deploy Scanroute in the kubernetes cluster, and due to the ingress setup I would need to add a base URL prefix to every route, link, static resource etc...

For example:
K8s ingress controller address: https://k8s.ingress.local/
App's url prefix: asvs
App's home page url: https://k8s.ingress.local/asvs

I am able to deploy and reach the app's home page, but all the CSS, static images, links are broken since the asvs/ part of the links are missing.

I am not proficient with Django, but I'd happily take the hints on how to do that and create a PR if I had any success with that.

@danielcuthbert
Copy link
Contributor

hello @LukeKeywalker thanks for the issue, let me look into this for you and get it sorted.

@danielcuthbert danielcuthbert self-assigned this Jan 5, 2022
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

2 participants