Browse Source

client: adjust api path

master
Milan Pässler 1 year ago
parent
commit
3224e1490b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client/src/index.js

+ 1
- 1
client/src/index.js View File

@@ -114,7 +114,7 @@ async function fetchNode(type, value) {
updateQueued(queued+1);
const queryNumAtStart = queryNum;

const node = await fetch(`http://127.0.0.1:8080/${type}/${value}`)
const node = await fetch(`/api/${type}/${value}`)
.then(resp => resp.json());

if (queryNum !== queryNumAtStart)


Loading…
Cancel
Save