]> git.r.bdr.sh - rbdr/generador-de-insultos/commitdiff
Don't use slash between the paths
authorRuben Beltran del Rio <redacted>
Sun, 12 Dec 2021 19:53:27 +0000 (20:53 +0100)
committerRuben Beltran del Rio <redacted>
Sun, 12 Dec 2021 19:53:27 +0000 (20:53 +0100)
src/lib/stores/insults.js

index d8bd3403ff609c791d2d8223b290c7fe67d12ad8..d4ee592ea506294133d8d58adc11f3463c7186c4 100644 (file)
@@ -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/',
   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) {
 
 
   async get(path) {