BASE_PATH not accounted for when determing static files path, login URL #477

Closed
opened 2025-12-29 16:22:31 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Oct 13, 2016).

When BASE_PATH has been set (to run NetBox in a subdirectory), the path generated in templates to reach static files does not take it into account. The login URL also still defaults to /login/, without prepending the base path.

Credit to Stéphane Ardhuin for reporting these bugs.

Originally created by @jeremystretch on GitHub (Oct 13, 2016). When `BASE_PATH` has been set (to run NetBox in a subdirectory), the path generated in templates to reach static files does not take it into account. The login URL also still defaults to `/login/`, without prepending the base path. Credit to Stéphane Ardhuin for reporting these bugs.
adam added the type: bug label 2025-12-29 16:22:31 +01:00
adam closed this issue 2025-12-29 16:22:32 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#477