mirror of
https://git.krews.org/morningstar/nitrowebsockets-for-ms
synced 2024-11-22 23:10:52 +01:00
Only debug line when debugging is enabled
This commit is contained in:
parent
ea20237166
commit
2a58b9cfc0
@ -59,7 +59,10 @@ public class WebSocketCodec extends MessageToMessageCodec<WebSocketFrame, ByteBu
|
|||||||
if(origin.equals(entry)) return true;
|
if(origin.equals(entry)) return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(Emulator.getConfig().getBoolean("debug.mode")) {
|
||||||
LOGGER.info("Origin not allowed: " + origin);
|
LOGGER.info("Origin not allowed: " + origin);
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user