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