chore: 更新配置和环境变量适配云端 Supabase
This commit is contained in:
@@ -5,7 +5,7 @@ class Env {
|
||||
const url = String.fromEnvironment('API_URL');
|
||||
if (url.isNotEmpty) return url;
|
||||
if (Platform.isAndroid) {
|
||||
return 'http://10.0.2.2:5775';
|
||||
return 'http://192.168.1.25:5775';
|
||||
}
|
||||
return 'http://localhost:5775';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user