From feff5db827bb0db8bd902130df8cb5cc3de8c090 Mon Sep 17 00:00:00 2001 From: smartfrigde <37928912+smartfrigde@users.noreply.github.com> Date: Wed, 2 Aug 2023 12:19:41 +0200 Subject: [PATCH] add replugged to arrpc allow list --- src/arrpc/src/transports/websocket.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/arrpc/src/transports/websocket.js b/src/arrpc/src/transports/websocket.js index 1aaf158..e3651d4 100644 --- a/src/arrpc/src/transports/websocket.js +++ b/src/arrpc/src/transports/websocket.js @@ -70,7 +70,12 @@ class WSServer { if ( origin !== "" && - !["https://discord.com", "https://ptb.discord.com", "https://canary.discord.com"].includes(origin) + ![ + "https://discord.com", + "https://ptb.discord.com", + "https://canary.discord.com", + "https://replugged.dev" + ].includes(origin) ) { log("disallowed origin", origin);