Correct url

This commit is contained in:
Melon 2023-11-19 23:48:27 +00:00
parent a3b9273552
commit 68373d4574
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -6,7 +6,7 @@
$: window.mainWS = mainWS; $: window.mainWS = mainWS;
function connectWS() { function connectWS() {
mainWS = new WebSocket("https://api.1f349.com/v1/lotus/imap"); mainWS = new WebSocket("wss://api.1f349.com/v1/lotus/imap");
mainWS.addEventListener("open", () => { mainWS.addEventListener("open", () => {
mainWS.send(JSON.stringify({token: getBearer().slice(7)})); mainWS.send(JSON.stringify({token: getBearer().slice(7)}));
}); });