From 7a0d4fc62a8d75bf1a4ceeba4996274fd2b9cc9d Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 8 Dec 2023 01:01:12 +0800 Subject: [PATCH] Fix --- backend/dockge-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/dockge-server.ts b/backend/dockge-server.ts index 8937801..c361d2f 100644 --- a/backend/dockge-server.ts +++ b/backend/dockge-server.ts @@ -196,7 +196,7 @@ export class DockgeServer { cors, allowRequest: (req, callback) => { let isOriginValid = true; - const bypass = isDev || process.env.UPTIME_KUMA_WS_ORIGIN_CHECK === "bypass"; + const bypass = isDev; if (!bypass) { let host = req.headers.host;