1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-12-23 21:03:14 +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

@ -5,4 +5,8 @@ Config.Server = {
"hostname": "localhost",
"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');