Attempt to allow changing root URL
This commit is contained in:
parent
6941fd3e2d
commit
fb73f5ca24
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ class AppServiceProvider extends ServiceProvider
|
|||
\URL::forceScheme('https');
|
||||
}
|
||||
|
||||
if(env('APP_URL') != 'http://localhost') {
|
||||
\URL::forceRootUrl(env('APP_URL'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue