diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-12 20:53:27 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-12 20:53:27 +0100 |
| commit | 73d2a4923358fd9774b18a458669697cfb0b958e (patch) | |
| tree | 891434c7e92b98a187d5cd5979fa0980e8815fcc /src/lib | |
| parent | e1c0668b66045505a69a227a7e2a175cb8ab35dd (diff) | |
Don't use slash between the paths
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/stores/insults.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |