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

Fixes #6912: Fix static asset references when BASE_PATH is in use
This commit is contained in:
Jeremy Stretch 2021-08-12 15:15:18 -04:00 committed by GitHub
commit 1b074d2d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 8 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 one or more lines are too long

View File

@ -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

View File

@ -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