style: change
This commit is contained in:
@@ -6,8 +6,10 @@ class AppConfig {
|
||||
/// - وب / شبیهساز iOS: `--dart-define=BASE_URL=http://localhost:8080`
|
||||
/// - پروداکشن: `--dart-define=BASE_URL=https://api.hakemsho.ir`
|
||||
/// با تغییر شبکه/IP مک، مقدار dart-define یا همین پیشفرض را عوض کنید.
|
||||
static const String baseUrl =
|
||||
String.fromEnvironment('BASE_URL', defaultValue: 'http://192.168.1.105:8080');
|
||||
static const String baseUrl = String.fromEnvironment(
|
||||
'BASE_URL',
|
||||
defaultValue: 'http://192.168.100.6:8080',
|
||||
);
|
||||
|
||||
static String get apiUrl => '$baseUrl/api';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user