update: force https

This commit is contained in:
tokumeikoi
2022-05-09 23:46:33 +08:00
parent ed749f85ae
commit 9d9c977ff1
5 changed files with 18 additions and 10 deletions

View File

@ -24,6 +24,9 @@ class RouteServiceProvider extends ServiceProvider
public function boot()
{
//
if (config('v2board.force_https')) {
resolve(\Illuminate\Routing\UrlGenerator::class)->forceScheme('https');
}
parent::boot();
}