Update env to cater for ai endpoint dev
This commit is contained in:
parent
48b419bd42
commit
fdf3da0b2e
1 changed files with 9 additions and 3 deletions
|
|
@ -3,6 +3,7 @@ enum Enviroment { dev, prod }
|
|||
//
|
||||
abstract class AppEnviroment {
|
||||
static late String baseApiUrl;
|
||||
static late String baseAiUrl;
|
||||
static late String baseFileUrl;
|
||||
static late String whatsappAccessToken;
|
||||
static late String fingerPrintPluginKey;
|
||||
|
|
@ -13,9 +14,14 @@ abstract class AppEnviroment {
|
|||
switch (env) {
|
||||
case Enviroment.dev:
|
||||
{
|
||||
baseApiUrl = "http://10.0.2.2:8080"; //Android
|
||||
// baseApiUrl = "http://localhost:8080"; //Web
|
||||
baseFileUrl = "http://10.0.2.2:9000"; //"http://localhost:9000";
|
||||
//================= Android Dev Urls =================
|
||||
baseApiUrl = "http://10.0.2.2:8080";
|
||||
baseFileUrl = "http://10.0.2.2:9000";
|
||||
baseAiUrl = "http://10.0.2.2:11434";
|
||||
//================= Web Dev Urls =================
|
||||
// baseApiUrl = "http://localhost:8080";
|
||||
// baseFileUrl = "http://localhost:9000";
|
||||
// baseAiUrl = "http://localhost:11434";
|
||||
whatsappAccessToken =
|
||||
"EAAPINXuNFdYBOzBjTcvZA2iPXEHbHRF9uNXyP3ihkPRUcBqKNru5g9NKRRKkFaiaITEzO3BMo6CjdUmlDH4qYTW2mzDrZB4Q21ZCEZBgECZCu27vfaOXJZCYQLNxwoXkrZBRYv8ZAP37f69r3z9JxLQxdxn9gwqA3oNZAlBBRapJQzxOr6pZBTdI3bbjbu17ZBIwRcF4JCqPDCNLEZCI3bmHwEd2i2niNMYZD";
|
||||
//fingerPrintPluginKey = 'h5X7a5j14iUZCobI1ZeX';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue