mirror of
https://github.com/louislam/dockge.git
synced 2024-11-24 03:44:03 +00:00
Fix
This commit is contained in:
parent
fd7f539089
commit
5bbd3a906a
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ export class DockgeServer {
|
|||
try {
|
||||
let originURL = new URL(origin);
|
||||
|
||||
if (host !== originURL.hostname) {
|
||||
if (host !== originURL.host) {
|
||||
isOriginValid = false;
|
||||
log.error("auth", `Origin (${origin}) does not match host (${host}), IP: ${req.socket.remoteAddress}`);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue