feat: App默认服务器改挂Xuan(139.196.125.248:8787,公网直达)
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ function base(): string {
|
||||
if (b) return b
|
||||
// Capacitor WebView(origin 非 http(s)://<server>)默认回落本机开发地址
|
||||
if (typeof location !== 'undefined' && !/^https?:\/\//.test(location.protocol === 'capacitor:' || location.protocol === 'file:' ? 'x' : location.origin)) {
|
||||
return 'http://192.168.1.163:8787'
|
||||
return 'http://139.196.125.248:8787'
|
||||
}
|
||||
return ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user