From 8b2d4218f7122a73e2a378dbba7e27f598b75fec Mon Sep 17 00:00:00 2001 From: Colin Reeder Date: Fri, 26 Jul 2019 17:48:34 -0600 Subject: [PATCH] Use relative URL for graph.json --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a1a508b..ef28680 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 = {}; -- 2.45.2