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(