mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-05 04:30:33 -06:00
fix auth flow on subsequent loads
This commit is contained in:
@@ -36,13 +36,13 @@ export class PSocket extends EventListener {
|
||||
})).json());
|
||||
|
||||
wispInfo.handler = new PWispHandler(wispServer, wispToken);
|
||||
// Wait for websocket to fully open
|
||||
await new Promise((res, req) => {
|
||||
wispInfo.handler.onReady = res;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// Wait for websocket to fully open
|
||||
await new Promise((res, req) => {
|
||||
wispInfo.handler.onReady = res;
|
||||
});
|
||||
|
||||
const callbacks = {
|
||||
dataCallBack: (data) => {
|
||||
|
||||
Reference in New Issue
Block a user