From ca3cfdf043b629bb4ba82b9a4f1cd046d6f739c3 Mon Sep 17 00:00:00 2001 From: "Glitch (hello-express)" Date: Mon, 4 Nov 2019 22:03:48 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=A3=F0=9F=93=A0=20Checkpoint=20./serve?= =?UTF-8?q?r.js:933874/1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index 1f616d0..31745b3 100644 --- a/server.js +++ b/server.js @@ -29,6 +29,7 @@ app.get("/img", (req, res) => { } res.sendFile(__dirname + "/views/closed.svg"); // https://www.flaticon.com/free-icon/closed_1234190 }); + app.get("/api", (req, res) => { res.header("Access-Control-Allow-Origin", "*"); res.header(