From 52a05f00e39270910c3dc41faede0206f698c0e6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 16 Aug 2021 18:13:15 +0200 Subject: db.json --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/index.js b/src/index.js index 4c09857..e23db17 100644 --- a/src/index.js +++ b/src/index.js @@ -157,7 +157,7 @@ const choice = (list) => list[randint(list.length)]; const commonGroups = (a, b) => union(a.groups, b.groups); async function loadDB() { - const request = await fetch("/db.json"); + const request = await fetch("/assets/db.json"); return await request.json(); } -- cgit v1.2.3-70-g09d2