Browse Source

Merge pull request #6933 from netbox-community/6912-static-resources

Fixes #6912: Fix static asset references when BASE_PATH is in use
Jeremy Stretch 4 years ago
parent
commit
1b074d2d53

+ 0 - 1
netbox/project-static/bundle.js

@@ -8,7 +8,6 @@ const options = {
   minify: true,
   minify: true,
   sourcemap: true,
   sourcemap: true,
   logLevel: 'error',
   logLevel: 'error',
-  publicPath: '/static',
 };
 };
 
 
 // Get CLI arguments for optional overrides.
 // Get CLI arguments for optional overrides.

+ 1 - 1
netbox/project-static/dist/config.js

@@ -28,4 +28,4 @@
  * measure size of elements
  * measure size of elements
  * MIT license
  * MIT license
  */
  */
-//# sourceMappingURL=/static/config.js.map
+//# sourceMappingURL=config.js.map

+ 1 - 1
netbox/project-static/dist/graphiql.js

@@ -301,4 +301,4 @@ object-assign
  * This source code is licensed under the MIT license found in the
  * This source code is licensed under the MIT license found in the
  * LICENSE file in the root directory of this source tree.
  * LICENSE file in the root directory of this source tree.
  */
  */
-//# sourceMappingURL=/static/graphiql.js.map
+//# sourceMappingURL=graphiql.js.map

+ 1 - 1
netbox/project-static/dist/jobs.js

@@ -28,4 +28,4 @@
  * measure size of elements
  * measure size of elements
  * MIT license
  * MIT license
  */
  */
-//# sourceMappingURL=/static/jobs.js.map
+//# sourceMappingURL=jobs.js.map

+ 1 - 1
netbox/project-static/dist/lldp.js

@@ -28,4 +28,4 @@
  * measure size of elements
  * measure size of elements
  * MIT license
  * MIT license
  */
  */
-//# sourceMappingURL=/static/lldp.js.map
+//# sourceMappingURL=lldp.js.map

File diff suppressed because it is too large
+ 0 - 0
netbox/project-static/dist/netbox-external.css


+ 1 - 1
netbox/project-static/dist/netbox.js

@@ -64,4 +64,4 @@
     See the Apache Version 2.0 License for specific language governing permissions
     See the Apache Version 2.0 License for specific language governing permissions
     and limitations under the License.
     and limitations under the License.
     ***************************************************************************** */
     ***************************************************************************** */
-//# sourceMappingURL=/static/netbox.js.map
+//# sourceMappingURL=netbox.js.map

+ 1 - 1
netbox/project-static/dist/status.js

@@ -28,4 +28,4 @@
  * measure size of elements
  * measure size of elements
  * MIT license
  * MIT license
  */
  */
-//# sourceMappingURL=/static/status.js.map
+//# sourceMappingURL=status.js.map

Some files were not shown because too many files changed in this diff