mirror of
https://git.sr.ht/~emersion/gamja
synced 2025-03-24 05:49:50 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue