some static files not found when BASE_PATH
is changed
#6912
Labels
beta
Concerns a bug/feature in a beta release
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.0-beta1
Python version
3.8
Steps to Reproduce
BASE_PATH = 'netbox/'
upgrade.sh
.Expected Behavior
All static asset files should be found.
Observed Behavior
Some static files cannot be found (i.e., 404 errors).
For example, the site tries to load
/static/netbox.js.map
instead of/netbox/static/netbox.js.map
. The problem appears to be this line:netbox/netbox/project-static/dist/netbox.js
Line 67 in 6845fb0
Perhaps due to this?
netbox/netbox/project-static/bundle.js
Line 11 in 6845fb0
Changing
sourceMappingURL=/static/netbox.js.map
tosourceMappingURL=netbox.js.map
appears to work, at least for this particular file.The text was updated successfully, but these errors were encountered: