Skip to content

Commit

Permalink
修复sub缓存导致订阅异常的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cmliu committed Jan 4, 2025
1 parent 7386011 commit 3d97157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 明文源码.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { connect } from 'cloudflare:sockets';

let userID = '';
let proxyIP = '';
let sub = '';
//let sub = '';
let subConverter = 'SUBAPI.fxxk.dedyn.io';
let subConfig = "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_Mini_MultiMode.ini";
let subProtocol = 'https';
Expand Down Expand Up @@ -126,7 +126,7 @@ export default {
subEmoji = env.SUBEMOJI || env.EMOJI || subEmoji;
if (subEmoji == '0') subEmoji = 'false';
if (env.LINK) link = await 整理(env.LINK);
sub = env.SUB || sub;
let sub = env.SUB || '';
subConverter = env.SUBAPI || subConverter;
if (subConverter.includes("http://")) {
subConverter = subConverter.split("//")[1];
Expand Down

0 comments on commit 3d97157

Please sign in to comment.