fix(runtime): force app_url/force_https per-request via middlewar

This commit is contained in:
xboard
2026-03-19 04:19:29 +08:00
parent 139b34ca19
commit 47983dec40
6 changed files with 34 additions and 11 deletions
+1 -5
View File
@@ -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();
}