mirror of
https://github.com/1f349/mail.1f349.com.git
synced 2024-11-13 23:21:40 +00:00
Correct url
This commit is contained in:
parent
a3b9273552
commit
68373d4574
@ -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)}));
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user