Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
'url' => env('APP_URL', 'http://localhost'),


'api_url' => env('API_URL', 'http://localhost'),


'timezone' => 'UTC',

Expand Down
2 changes: 1 addition & 1 deletion config/l5-swagger.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,6 @@
|--------------------------------------------------------------------------
*/
'constants' => [
'L5_SWAGGER_CONST_HOST' => config('app.url') . '/api',
'L5_SWAGGER_CONST_HOST' => env('APP_URL', null),
],
];
1 change: 1 addition & 0 deletions helm-chart-backoffice/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
APP_DEBUG: false
APP_LOG_LEVEL: info
APP_URL: https://preparemessages.ifrc.org
API_URL: https://api-preparemessages.ifrc.org
GOOGLE_MAPS_KEY:
DB_CONNECTION: mysql
DB_PORT: 3306
Expand Down
1 change: 1 addition & 0 deletions helm-chart-backoffice/values-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
APP_DEBUG: true
APP_LOG_LEVEL: debug
APP_URL: https://preparemessages-stage.ifrc.org
API_URL: https://api-preparemessages-stage.ifrc.org
GOOGLE_MAPS_KEY:
DB_CONNECTION: mysql
DB_PORT: 3306
Expand Down
2 changes: 1 addition & 1 deletion resources/views/scripts.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$config = [
'appName' => config('app.name'),
'url' => config('app.url'),
'api_url'=> config('rcnapi.url'),
'api_url'=> config('app.api_url'),
'appEnv' => config('app.env'),
'locale' => $locale = app()->getLocale(),
'locales' => config('app.locales'),
Expand Down
Loading