mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed baseUrl is undefined error
I literally cannot figure out how this ever worked before.
This commit is contained in:
parent
12ec2d1f7a
commit
f6ef139111
Binary file not shown.
BIN
public/js/dist/all.js
vendored
BIN
public/js/dist/all.js
vendored
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
"/css/app.css.map": "/css/app.css.map?id=96b5c985e860716e6a16",
|
||||
"/css/overrides.css.map": "/css/overrides.css.map?id=f7ce9ca49027594ac402",
|
||||
"/css/dist/all.css": "/css/dist/all.css?id=98db4e9b7650453c8b00",
|
||||
"/js/dist/all.js": "/js/dist/all.js?id=269c4bb386c5ae0dcce4",
|
||||
"/js/dist/all.js": "/js/dist/all.js?id=9e32b32efc79b270c9a8",
|
||||
"/css/build/all.css": "/css/build/all.css?id=98db4e9b7650453c8b00",
|
||||
"/js/build/all.js": "/js/build/all.js?id=269c4bb386c5ae0dcce4"
|
||||
"/js/build/all.js": "/js/build/all.js?id=9e32b32efc79b270c9a8"
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ var pieOptions = {
|
|||
//- END PIE CHART -
|
||||
//-----------------
|
||||
|
||||
|
||||
var baseUrl = $('meta[name="baseUrl"]').attr('content');
|
||||
|
||||
(function($, settings) {
|
||||
var Components = {};
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<link rel="shortcut icon" type="image/ico" href="{{ url(asset('favicon.ico')) }}">
|
||||
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<meta name="baseUrl" content="{{ config('app.url') }}/">
|
||||
|
||||
<script nonce="{{ csrf_token() }}">
|
||||
window.Laravel = { csrfToken: '{{ csrf_token() }}' };
|
||||
|
|
Loading…
Reference in a new issue