1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 10:22:39 +01:00

Prevent client from deleting localStorage

This commit is contained in:
Madeline 2022-10-26 18:38:48 +11:00
parent 9cd27dad6f
commit 3e9ead8b5e
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -113,6 +113,11 @@ const doPatch = (content) => {
content = content.replaceAll("status.discord.com", "status.understars.dev");
content = content.replaceAll(
"delete window.localStorage",
"console.log('Prevented deletion of localStorage')"
);
return content;
};