mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-24 15:30:03 -05:00
fix(core): ensure force https is always a bool
This commit is contained in:
@@ -37,7 +37,7 @@ final class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
private function configureHttps(): void
|
||||
{
|
||||
if (App::isProduction() && config('app.force_https')) {
|
||||
if (App::isProduction() && (bool) config('app.force_https')) {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user