use relative path for graph API endpoint
This commit is contained in:
parent
1c7f918d8c
commit
10a0fa1530
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ export type NodeType = {
|
|||
export type EdgeType = { label: string }
|
||||
|
||||
const fetchGraph = async (label: string) => {
|
||||
const response = await fetch(`http://localhost:9621/graphs?label=${label}`)
|
||||
const response = await fetch(`/graphs?label=${label}`)
|
||||
const rawData = await response.json()
|
||||
|
||||
let rawGraph = null
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue