From 73d2a4923358fd9774b18a458669697cfb0b958e Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 12 Dec 2021 20:53:27 +0100 Subject: Don't use slash between the paths --- src/lib/stores/insults.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/stores/insults.js b/src/lib/stores/insults.js index d8bd340..d4ee592 100644 --- a/src/lib/stores/insults.js +++ b/src/lib/stores/insults.js @@ -6,8 +6,8 @@ const internals = { kVersion: '1:', // in case we need to force a re-fetch kHost: import.meta.env.VITE_PUBLIC_BASE_PATH || 'http://localhost:3000', kDataPrefix: '/data/', - kVerbsPath: '/verbs.json', - kNounsPath: '/nouns.json', + kVerbsPath: 'verbs.json', + kNounsPath: 'nouns.json', async get(path) { -- cgit