This commit is contained in:
Louis Lam 2023-12-09 20:47:20 +08:00
parent fd7f539089
commit 5bbd3a906a

View file

@ -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}`);
}