Make sure inline scripts in admin all have the full base url

This commit is contained in:
Nabeel Shahzad
2018-03-14 18:14:35 -05:00
parent e5ff927f7d
commit 2aae789e2a
4 changed files with 22 additions and 10 deletions

View File

@@ -9,6 +9,7 @@
<meta name="viewport" content="width=device-width" />
{{-- Start of required lines block. DON'T REMOVE THESE LINES! They're required or might break things --}}
<meta name="base-url" content="{{ url() }}">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="api-key" content="{{ Auth::check() ? Auth::user()->api_key: '' }}">
{{-- End the required lines block --}}