~vpzom/yggmap

8b2d4218f7122a73e2a378dbba7e27f598b75fec — Colin Reeder 5 years ago e19f467 master
Use relative URL for graph.json
1 files changed, 1 insertions(+), 1 deletions(-)

M src/index.ts
M src/index.ts => src/index.ts +1 -1
@@ 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 = {};