Attempt to make proxy sub-dir -> app no subdir work (#9317)

Set APP_URL and APP_URL_SUFFIX in .env
This commit is contained in:
Tony Murray
2018-10-17 11:07:26 -05:00
committed by Neil Lathwood
parent fcadd3ca65
commit df850a3ed9
6 changed files with 129 additions and 0 deletions

View File

@@ -11,6 +11,11 @@
|
*/
// handle proxy with subdirectory and app without
if ($appUrl = trim(config('app.url'), '/')) {
\URL::forceRootUrl(str_finish(config('app.url'), '/') . config('app.url_suffix'));
}
// Auth
Auth::routes();