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.
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.