Santandersecurityresearch / asvs

A simple web app that helps developers understand the ASVS requirements.
MIT License
154 stars 39 forks source link

Configuring base URL prefix #58

Open LukeKeywalker opened 3 years ago

LukeKeywalker commented 3 years ago

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 commented 2 years ago

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