mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-06 15:10:49 +08:00
fix: desktop check
This commit is contained in:
@@ -69,7 +69,7 @@ class APIs {
|
||||
|
||||
static String baseUrl() {
|
||||
if (kReleaseMode) {
|
||||
if (isDesktop()) {
|
||||
if (!kIsWeb) {
|
||||
return "http://127.0.0.1:8080";
|
||||
}
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user