diff --git a/public/Config.js b/public/Config.js index b86dc88..f849143 100644 --- a/public/Config.js +++ b/public/Config.js @@ -5,4 +5,8 @@ Config.Server = { "hostname": "localhost", "port": 16918, secure: false +} + +Config.Site = { + base: "/gwent-online/site/public" } \ No newline at end of file diff --git a/site/client/app/app.js b/site/client/app/app.js index b049be2..0298c43 100644 --- a/site/client/app/app.js +++ b/site/client/app/app.js @@ -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');