mirror of
https://github.com/elisspace/FxLifeSheet.git
synced 2026-08-29 15:44:00 +00:00
Update backend
This commit is contained in:
5
web.js
5
web.js
@@ -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
6
web.ts
@@ -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": "*",
|
||||
|
||||
Reference in New Issue
Block a user