force https on docker
This commit is contained in:
@@ -11,6 +11,9 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
{
|
{
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
|
if(config('app.env') === 'production') {
|
||||||
|
\URL::forceScheme('https');
|
||||||
|
}
|
||||||
Schema::defaultStringLength(191);
|
Schema::defaultStringLength(191);
|
||||||
View::composer('Shop.layout.layout', LayoutComposer::class);
|
View::composer('Shop.layout.layout', LayoutComposer::class);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user