Attempt to allow changing root URL

This commit is contained in:
Chris 2018-10-15 09:03:54 +01:00
parent 6941fd3e2d
commit fb73f5ca24

View file

@ -60,6 +60,10 @@ class AppServiceProvider extends ServiceProvider
\URL::forceScheme('https');
}
if(env('APP_URL') != 'http://localhost') {
\URL::forceRootUrl(env('APP_URL'));
}
}
/**