From 79e817e0b2bea9031cd6bd14c640139a340395d8 Mon Sep 17 00:00:00 2001 From: m1k1o Date: Wed, 10 Mar 2021 23:07:26 +0100 Subject: [PATCH] local path on resources. --- client/src/store/emoji.ts | 2 +- client/src/store/settings.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/store/emoji.ts b/client/src/store/emoji.ts index 0fafa9be..ec1a80f4 100644 --- a/client/src/store/emoji.ts +++ b/client/src/store/emoji.ts @@ -60,7 +60,7 @@ export const actions = actionTree( { initialise() { $http - .get('/emoji.json') + .get('emoji.json') .then((req) => { for (const group of req.data.groups) { accessor.emoji.addGroup(group) diff --git a/client/src/store/settings.ts b/client/src/store/settings.ts index 9a8cabe4..f3097777 100644 --- a/client/src/store/settings.ts +++ b/client/src/store/settings.ts @@ -72,10 +72,9 @@ export const actions = actionTree( { initialise() { $http - .get('/keyboard_layouts.json') + .get('keyboard_layouts.json') .then((req) => { accessor.settings.setKeyboardLayoutsList(req.data) - console.log(req.data) }) .catch(console.error) },