mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
local path on resources.
This commit is contained in:
parent
69e7990afb
commit
79e817e0b2
@ -60,7 +60,7 @@ export const actions = actionTree(
|
||||
{
|
||||
initialise() {
|
||||
$http
|
||||
.get<Emojis>('/emoji.json')
|
||||
.get<Emojis>('emoji.json')
|
||||
.then((req) => {
|
||||
for (const group of req.data.groups) {
|
||||
accessor.emoji.addGroup(group)
|
||||
|
@ -72,10 +72,9 @@ export const actions = actionTree(
|
||||
{
|
||||
initialise() {
|
||||
$http
|
||||
.get<KeyboardLayouts>('/keyboard_layouts.json')
|
||||
.get<KeyboardLayouts>('keyboard_layouts.json')
|
||||
.then((req) => {
|
||||
accessor.settings.setKeyboardLayoutsList(req.data)
|
||||
console.log(req.data)
|
||||
})
|
||||
.catch(console.error)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user