1
0
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:
devfake 2015-06-22 16:30:11 +02:00
parent 43b7a1879f
commit 1efe47d5a1
2 changed files with 6 additions and 0 deletions

View File

@ -6,3 +6,7 @@ Config.Server = {
"port": 16918,
secure: false
}
Config.Site = {
base: "/gwent-online/site/public"
}

View File

@ -1,6 +1,8 @@
var Vue = require('vue');
var router = require('./routes');
require('../../../public/Config.js');
Vue.use(require('vue-resource'));
Vue.http.headers.common['X-CSRF-TOKEN'] = $('.token').attr('content');