🐣📠 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
1 changed files with 1 additions and 0 deletions

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(