mirror of
https://github.com/ayunami2000/ayungee.git
synced 2024-09-19 08:56:00 -07:00
i MAY have fucked up, but iTS OK ITS FIXED NOW
This commit is contained in:
parent
403e767fe6
commit
ead351ef35
|
@ -30,6 +30,7 @@ public class WebSocketProxy extends WebSocketServer {
|
|||
conn.close();
|
||||
return;
|
||||
}
|
||||
if (origin.contains("://")) origin = origin.substring(origin.indexOf("://") + 3);
|
||||
if (!Main.originWhitelist.isEmpty() && !Main.originWhitelist.contains(origin)) {
|
||||
conn.close();
|
||||
return;
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user