mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-05 12:40:26 -06:00
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:
@@ -43,7 +43,7 @@ async function UIDesktop(options){
|
||||
|
||||
// connect socket.
|
||||
window.socket = io(window.gui_origin + '/', {
|
||||
query: {
|
||||
auth: {
|
||||
auth_token: window.auth_token
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user