mirror of
https://github.com/exane/not-gwent-online
synced 2025-07-24 12:23:30 +00:00
site config
This commit is contained in:
@@ -5,4 +5,8 @@ Config.Server = {
|
|||||||
"hostname": "localhost",
|
"hostname": "localhost",
|
||||||
"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');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user