|
@@ -25,7 +25,7 @@ let userAgent = 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleW
|
|
|
|
|
|
|
|
async function Main() {
|
|
async function Main() {
|
|
|
if (typeof magicJS.request != "undefined") {
|
|
if (typeof magicJS.request != "undefined") {
|
|
|
- checkHandleRequest();
|
|
|
|
|
|
|
+ await checkHandleRequest();
|
|
|
} else {
|
|
} else {
|
|
|
const allSessions = magicJS.data.allSessionNames(dingDongCookieKey);
|
|
const allSessions = magicJS.data.allSessionNames(dingDongCookieKey);
|
|
|
if (!allSessions || allSessions.length <= 0) {
|
|
if (!allSessions || allSessions.length <= 0) {
|