mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
site config
This commit is contained in:
parent
43b7a1879f
commit
1efe47d5a1
@ -6,3 +6,7 @@ Config.Server = {
|
|||||||
"port": 16918,
|
"port": 16918,
|
||||||
secure: false
|
secure: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Config.Site = {
|
||||||
|
base: "/gwent-online/site/public"
|
||||||
|
}
|
@ -1,6 +1,8 @@
|
|||||||
var Vue = require('vue');
|
var Vue = require('vue');
|
||||||
var router = require('./routes');
|
var router = require('./routes');
|
||||||
|
|
||||||
|
require('../../../public/Config.js');
|
||||||
|
|
||||||
Vue.use(require('vue-resource'));
|
Vue.use(require('vue-resource'));
|
||||||
Vue.http.headers.common['X-CSRF-TOKEN'] = $('.token').attr('content');
|
Vue.http.headers.common['X-CSRF-TOKEN'] = $('.token').attr('content');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user