add replugged to arrpc allow list

This commit is contained in:
smartfrigde 2023-08-02 12:19:41 +02:00
parent 5145410f06
commit feff5db827

View file

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