fix(security): Move token for socket.io to request body

Currently this commit breaks websocket events and needs to
be updated.
This commit is contained in:
KernelDeimos
2024-05-09 19:25:02 -04:00
parent f042b095f1
commit 49b257ecff
4 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ async function UIDesktop(options){
// connect socket.
window.socket = io(window.gui_origin + '/', {
query: {
auth: {
auth_token: window.auth_token
}
});