mirror of
https://github.com/kenzok8/small-package.git
synced 2026-01-14 03:14:58 +08:00
14 lines
521 B
Diff
14 lines
521 B
Diff
--- a/src/config.ts
|
|
+++ b/src/config.ts
|
|
@@ -66,8 +66,8 @@ export const backendConfig = [{
|
|
label: 'sub.d1.mk(肥羊提供-备用后端)',
|
|
value: 'https://sub.d1.mk/sub?'
|
|
}, {
|
|
- label: 'localhost:25500(自建本地服务)',
|
|
- value: 'http://localhost:25500/sub?'
|
|
+ label: `${window.location.protocol}//${window.location.hostname}:25500(自建本地服务)`,
|
|
+ value: `${window.location.protocol}//${window.location.hostname}:25500/sub?`
|
|
}];
|
|
export const externalConfig = [{
|
|
label: 'CM规则',
|