added pages to project
This commit is contained in:
@@ -5,7 +5,7 @@ class ApiConfig {
|
||||
static const bool useLive = true;
|
||||
|
||||
/// Dominio produzione
|
||||
static const String liveHost = 'app.yogiboook.com';
|
||||
static const String liveHost = 'yogibook.yogasoul.it';
|
||||
|
||||
// Host handling DEV:
|
||||
// - Web: localhost
|
||||
@@ -24,7 +24,7 @@ class ApiConfig {
|
||||
/// DEV: http://10.0.2.2/yogiboook/public/api
|
||||
/// LIVE: https://app.yogiboook.com/public/api
|
||||
static String get laravelApiBase {
|
||||
if (useLive) return '$scheme://$host/public/api';
|
||||
if (useLive) return '$scheme://$host/api';
|
||||
return '$scheme://$host/yogiboook/public/api';
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ class ApiConfig {
|
||||
/// DEV: http://10.0.2.2/yogiboook/public/userarea/api
|
||||
/// LIVE: https://app.yogiboook.com/public/userarea/api
|
||||
static String get phpApiBase {
|
||||
if (useLive) return '$scheme://$host/public/userarea/api';
|
||||
if (useLive) return '$scheme://$host/userarea/api';
|
||||
return '$scheme://$host/yogiboook/public/userarea/api';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user