Explorar el Código

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

Fixes #6912: Fix static asset references when BASE_PATH is in use
Jeremy Stretch hace 4 años
padre
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

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 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

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio