mirror of
https://github.com/louislam/dockge.git
synced 2026-05-21 14:02:17 +00:00
Fix
This commit is contained in:
@@ -196,7 +196,7 @@ export class DockgeServer {
|
|||||||
cors,
|
cors,
|
||||||
allowRequest: (req, callback) => {
|
allowRequest: (req, callback) => {
|
||||||
let isOriginValid = true;
|
let isOriginValid = true;
|
||||||
const bypass = isDev || process.env.UPTIME_KUMA_WS_ORIGIN_CHECK === "bypass";
|
const bypass = isDev;
|
||||||
|
|
||||||
if (!bypass) {
|
if (!bypass) {
|
||||||
let host = req.headers.host;
|
let host = req.headers.host;
|
||||||
|
|||||||
Reference in New Issue
Block a user