9
0
mirror of https://github.com/Lomanic/presence-button-web synced 2024-11-14 09:47:30 +00:00

🐣📠 Checkpoint

./server.js:933874/1
This commit is contained in:
Glitch (hello-express) 2019-11-04 22:03:48 +00:00
parent 0d55c1a6c5
commit ca3cfdf043

View File

@ -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(