fix: repair link made by `asset() in blade template when working on http`
The forcing is useless, we are forcing links through many other ways. I need to test aspects of deployments on my laptop to mimic production deployment without this hassle.
This commit is contained in:
@@ -11,9 +11,6 @@ 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