File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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' }
You can’t perform that action at this time.
0 commit comments