This commit is contained in:
parent
18a66953f2
commit
9e2ad81cff
@ -8,7 +8,7 @@ String formatMountName(String type, String name) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String getBaseUri() {
|
String getBaseUri() {
|
||||||
if (kDebugMode) {
|
if (kDebugMode || !kIsWeb) {
|
||||||
return 'http://127.0.0.1:30000';
|
return 'http://127.0.0.1:30000';
|
||||||
}
|
}
|
||||||
return Uri.base.origin;
|
return Uri.base.origin;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user