Browse Source

Use relative URL for graph.json

master
Colin Reeder 4 years ago
parent
commit
8b2d4218f7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/index.ts

+ 1
- 1
src/index.ts View File

@@ -69,7 +69,7 @@ function drawNetwork() {
nodes.forEach(drawNode);
}

fetch("http://map.y.tau.rocks/graph.json")
fetch("/graph.json")
.then(res => res.json())
.then(data => {
const nodeMap = {};


Loading…
Cancel
Save