mirror of
https://github.com/louislam/dockge.git
synced 2024-11-27 21:24:02 +00:00
Fix
This commit is contained in:
parent
d0712d77ab
commit
7a0d4fc62a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue