mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 23:43:42 +01:00
Fix config.json relative path
The path should be relative to index.html, not the JS file.
This commit is contained in:
parent
17cd38f0b9
commit
ac5bbafdc3
@ -18,7 +18,7 @@ import commands from "../commands.js";
|
||||
import { setup as setupKeybindings } from "../keybindings.js";
|
||||
import * as store from "../store.js";
|
||||
|
||||
const configPromise = fetch("../config.json")
|
||||
const configPromise = fetch("./config.json")
|
||||
.then((resp) => {
|
||||
if (resp.ok) {
|
||||
return resp.json();
|
||||
|
Loading…
x
Reference in New Issue
Block a user