Skip to content

Commit

Permalink
Rename APP_PLATFORM_ALIASES to APP_URL_ALIASES
Browse files Browse the repository at this point in the history
  • Loading branch information
NFarrington committed Mar 26, 2019
1 parent f15a978 commit fc6ea51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function mapWebRoutes()
*/
protected function mapPlatformRoutes()
{
$platformAliases = config('app.platform_aliases') ?: [];
$platformAliases = config('app.url_aliases') ?: [];

$primaryDomain = parse_url(config('app.url'), PHP_URL_HOST);
$secondaryDomains = is_string($platformAliases) ? explode(',', $platformAliases) : $platformAliases;
Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

'url' => env('APP_URL', 'http://localhost'),

'platform_aliases' => env('APP_PLATFORM_ALIASES', ''),
'url_aliases' => env('APP_URL_ALIASES', ''),

'force_scheme' => env('FORCE_SCHEME'),

Expand Down

0 comments on commit fc6ea51

Please sign in to comment.