1
0
mirror of https://github.com/elisspace/FxLifeSheet.git synced 2026-08-29 15:44:00 +00:00

Update backend

This commit is contained in:
Felix Krause
2022-04-21 20:35:35 +02:00
parent 9b55d7b31d
commit e7d16738d5
2 changed files with 0 additions and 11 deletions

5
web.js
View File

@@ -210,11 +210,6 @@ setInterval(updateOverviewTable, 5 * 60 * 1000);
updateOverviewTable();
http
.createServer(function (req, res) {
if (req.url.indexOf("c0add870-32dc-4243-b8df-7ae71d5922d2") == -1) {
res.writeHead(403, { "Content-Type": "text/plain" });
res.end("Forbidden");
return;
}
res.writeHead(200, {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",

6
web.ts
View File

@@ -264,12 +264,6 @@ updateOverviewTable();
http
.createServer(function(req, res) {
// Verify the GET parameter "password" includes our keyphrase
if (req.url.indexOf("c0add870-32dc-4243-b8df-7ae71d5922d2") == -1) {
res.writeHead(403, { "Content-Type": "text/plain" });
res.end("Forbidden");
return;
}
res.writeHead(200, {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",