From c6e9a2a358c4acff780a1af1f7921fd627c99692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emrik=20=C3=96stling?= Date: Mon, 6 Nov 2023 21:59:11 +0100 Subject: [PATCH] correct path --- lasvecka-node/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasvecka-node/index.js b/lasvecka-node/index.js index c2f0eec..96c8d47 100644 --- a/lasvecka-node/index.js +++ b/lasvecka-node/index.js @@ -15,7 +15,7 @@ app.get('/', (req, res) => { res.send(render(data)); }); -app.get('/api', (req, res) => { +app.get('/data', (req, res) => { res.send(computeTime()); });