Skip to content

Commit 11ed824

Browse files
authored
Update 明文源吗
1 parent ab16969 commit 11ed824

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

明文源吗

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,9 @@ export default {
317317
if (manualRegion && manualRegion.trim()) {
318318
manualWorkerRegion = manualRegion.trim().toUpperCase();
319319
currentWorkerRegion = manualWorkerRegion;
320-
} else if (ci && customIP.trim()) {
321-
useCustomIP = true;
322-
currentWorkerRegion = 'CUSTOM';
320+
} else if (ci && ci.trim()) {
321+
useCustomIP = true;
322+
currentWorkerRegion = 'CUSTOM';
323323
} else {
324324
currentWorkerRegion = await detectWorkerRegion(request);
325325
}
@@ -566,10 +566,10 @@ export default {
566566
}), {
567567
headers: { 'Content-Type': 'application/json' }
568568
});
569-
} else if (ci && customIP.trim()) {
570-
return new Response(JSON.stringify({
571-
region: 'CUSTOM',
572-
detectionMethod: '自定义ProxyIP模式', ci: ci,
569+
} else if (ci && ci.trim()) {
570+
return new Response(JSON.stringify({
571+
region: 'CUSTOM',
572+
detectionMethod: '自定义ProxyIP模式', ci: ci,
573573
timestamp: new Date().toISOString()
574574
}), {
575575
headers: { 'Content-Type': 'application/json' }

0 commit comments

Comments
 (0)