Package the webapp in a docker nginx lightweight container
This commit is contained in:
committed by
Dat H. Pham
parent
c0f5c47346
commit
6ee34c4d97
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter_dotenv/flutter_dotenv.dart';
|
||||
|
||||
class AppConfig {
|
||||
static const baseUrl = String.fromEnvironment('SERVER_URL', defaultValue: '');
|
||||
static String get baseUrl => dotenv.get('SERVER_URL', fallback: '');
|
||||
}
|
||||
Reference in New Issue
Block a user