12 July 2024 v2
This commit is contained in:
5
Frontend/patient_manager/lib/env/env.dart
vendored
5
Frontend/patient_manager/lib/env/env.dart
vendored
@@ -1,5 +1,6 @@
|
||||
enum Enviroment { dev, prod }
|
||||
|
||||
//
|
||||
abstract class AppEnviroment {
|
||||
static late String baseApiUrl;
|
||||
static late String baseFileUrl;
|
||||
@@ -10,13 +11,13 @@ abstract class AppEnviroment {
|
||||
switch (env) {
|
||||
case Enviroment.dev:
|
||||
{
|
||||
baseApiUrl = "http://localhost:80";
|
||||
baseApiUrl = "http://localhost:81";
|
||||
baseFileUrl = "http://localhost:9000";
|
||||
break;
|
||||
}
|
||||
case Enviroment.prod:
|
||||
{
|
||||
baseApiUrl = "http://MIH_API_Hub:80";
|
||||
baseApiUrl = "http://MIH_API_Hub:81";
|
||||
baseFileUrl = "http://MIH_Minio:9000";
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user