mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-23 19:37:35 +08:00
fix(runtime): force app_url/force_https per-request via middlewar
This commit is contained in:
@@ -23,11 +23,7 @@ class RouteServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
if (admin_setting('force_https')) {
|
||||
resolve(\Illuminate\Routing\UrlGenerator::class)->forceScheme('https');
|
||||
}
|
||||
|
||||
// HTTPS scheme is forced per-request via middleware (Octane-safe).
|
||||
parent::boot();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user