[PR #6933] [MERGED] Fixes #6912: Fix static asset references when BASE_PATH is in use #13189

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/6933
Author: @jeremystretch
Created: 8/10/2021
Status: Merged
Merged: 8/12/2021
Merged by: @jeremystretch

Base: featureHead: 6912-static-resources


📝 Commits (1)

📊 Changes

8 files changed (+7 additions, -8 deletions)

View changed files

📝 netbox/project-static/bundle.js (+0 -1)
📝 netbox/project-static/dist/config.js (+1 -1)
📝 netbox/project-static/dist/graphiql.js (+1 -1)
📝 netbox/project-static/dist/jobs.js (+1 -1)
📝 netbox/project-static/dist/lldp.js (+1 -1)
📝 netbox/project-static/dist/netbox-external.css (+1 -1)
📝 netbox/project-static/dist/netbox.js (+1 -1)
📝 netbox/project-static/dist/status.js (+1 -1)

📄 Description

Fixes: #6912

  • Remove the publicPath bundle option so that relative paths are used for all static assets

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/6933 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/10/2021 **Status:** ✅ Merged **Merged:** 8/12/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `6912-static-resources` --- ### 📝 Commits (1) - [`b8e387c`](https://github.com/netbox-community/netbox/commit/b8e387ce981c6885c5e5a1be1e9933d3f140c4d6) #6912: Remove absolute publicPath reference ### 📊 Changes **8 files changed** (+7 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/bundle.js` (+0 -1) 📝 `netbox/project-static/dist/config.js` (+1 -1) 📝 `netbox/project-static/dist/graphiql.js` (+1 -1) 📝 `netbox/project-static/dist/jobs.js` (+1 -1) 📝 `netbox/project-static/dist/lldp.js` (+1 -1) 📝 `netbox/project-static/dist/netbox-external.css` (+1 -1) 📝 `netbox/project-static/dist/netbox.js` (+1 -1) 📝 `netbox/project-static/dist/status.js` (+1 -1) </details> ### 📄 Description ### Fixes: #6912 - Remove the `publicPath` bundle option so that relative paths are used for all static assets --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:25:52 +01:00
adam closed this issue 2025-12-29 22:25:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13189