Package the webapp in a docker nginx lightweight container

This commit is contained in:
Dat PHAM HOANG
2022-02-21 16:42:51 +07:00
committed by Dat H. Pham
parent c0f5c47346
commit 6ee34c4d97
6 changed files with 60 additions and 25 deletions
+2 -1
View File
@@ -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: '');
}