Update dashboard.blade.php
This commit is contained in:
parent
334846dba9
commit
14b9b11836
|
|
@ -118,7 +118,7 @@
|
||||||
wssPort: this.port === null ? 6001 : this.port,
|
wssPort: this.port === null ? 6001 : this.port,
|
||||||
wsPath: this.app.path === null ? '' : this.app.path,
|
wsPath: this.app.path === null ? '' : this.app.path,
|
||||||
disableStats: true,
|
disableStats: true,
|
||||||
authEndpoint: '/{{ request()->getBasePath() }}/auth',
|
authEndpoint: '{{ request()->getBasePath() }}/{{ request()->path() }}/auth',
|
||||||
auth: {
|
auth: {
|
||||||
headers: {
|
headers: {
|
||||||
'X-CSRF-Token': "{{ csrf_token() }}",
|
'X-CSRF-Token': "{{ csrf_token() }}",
|
||||||
|
|
@ -162,7 +162,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
loadChart() {
|
loadChart() {
|
||||||
$.getJSON('/{{ request()->getBasePath() }}/api/'+this.app.id+'/statistics', (data) => {
|
$.getJSON('{{ request()->getBasePath() }}/{{ request()->path() }}/api/'+this.app.id+'/statistics', (data) => {
|
||||||
|
|
||||||
let chartData = [
|
let chartData = [
|
||||||
{
|
{
|
||||||
|
|
@ -246,7 +246,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
sendEvent() {
|
sendEvent() {
|
||||||
$.post('/{{ request()->getBasePath() }}/event', {
|
$.post('{{ request()->getBasePath() }}/{{ request()->path() }}/event', {
|
||||||
_token: '{{ csrf_token() }}',
|
_token: '{{ csrf_token() }}',
|
||||||
key: this.app.key,
|
key: this.app.key,
|
||||||
secret: this.app.secret,
|
secret: this.app.secret,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue