12 July 2024 v2
This commit is contained in:
parent
380f212c7f
commit
aec55c75f2
25 changed files with 250 additions and 594 deletions
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue