aboutsummaryrefslogtreecommitdiff
path: root/src/site/store/index.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2019-03-15 07:52:33 +0000
committerPitu <[email protected]>2019-03-15 07:52:33 +0000
commit19e79365adf33d5031a68f85933051fc4fea046d (patch)
tree68d0eec08bae12dba02333667a4207fd760f5214 /src/site/store/index.js
parentTurns out we were using the wrong cookieparser (diff)
downloadhost.fuwn.me-19e79365adf33d5031a68f85933051fc4fea046d.tar.xz
host.fuwn.me-19e79365adf33d5031a68f85933051fc4fea046d.zip
proper baseurl
Diffstat (limited to 'src/site/store/index.js')
-rw-r--r--src/site/store/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/site/store/index.js b/src/site/store/index.js
index 6a05622..3c43f53 100644
--- a/src/site/store/index.js
+++ b/src/site/store/index.js
@@ -56,7 +56,7 @@ export const actions = {
commit('loggedIn', true);
commit('token', token);
- const res = await axios.get(`${this.config.baseURL}/verify`);
+ const res = await axios.get(`${process.env.DOMAIN}${process.env.ROUTE_PREFIX}/verify`);
if (!res || !res.data.user);
commit('user', res.data.user);
} catch (error) {