force https on docker

This commit is contained in:
ludo
2024-02-07 20:31:51 +01:00
parent d0e97ccd08
commit 4caf069011

View File

@@ -11,6 +11,9 @@ class AppServiceProvider extends ServiceProvider
{
public function boot()
{
if(config('app.env') === 'production') {
\URL::forceScheme('https');
}
Schema::defaultStringLength(191);
View::composer('Shop.layout.layout', LayoutComposer::class);
}