mirror of
https://github.com/Lomanic/presence-button-web
synced 2024-11-26 07:27:30 +00:00
🐣📠 Checkpoint
./server.js:933874/1
This commit is contained in:
parent
0d55c1a6c5
commit
ca3cfdf043
@ -29,6 +29,7 @@ app.get("/img", (req, res) => {
|
|||||||
}
|
}
|
||||||
res.sendFile(__dirname + "/views/closed.svg"); // https://www.flaticon.com/free-icon/closed_1234190
|
res.sendFile(__dirname + "/views/closed.svg"); // https://www.flaticon.com/free-icon/closed_1234190
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/api", (req, res) => {
|
app.get("/api", (req, res) => {
|
||||||
res.header("Access-Control-Allow-Origin", "*");
|
res.header("Access-Control-Allow-Origin", "*");
|
||||||
res.header(
|
res.header(
|
||||||
|
Loading…
Reference in New Issue
Block a user