allow forcing https for reverse proxy use

This commit is contained in:
Kode
2018-09-30 11:45:08 +01:00
parent 988364cb7c
commit a2f20fc18f
2 changed files with 8 additions and 0 deletions

View File

@@ -54,6 +54,12 @@ class AppServiceProvider extends ServiceProvider
}
view()->share('alt_bg', $alt_bg);
var_dump(env('FORCE_HTTPS'));
if (env('FORCE_HTTPS') === true) {
\URL::forceScheme('https');
}
}
/**