remove storage from git

This commit is contained in:
2026-04-15 17:42:52 +05:00
parent bac84d01cc
commit 2bfb601bf9
376 changed files with 35 additions and 7 deletions

View File

@@ -242,10 +242,10 @@ class Product extends Model
Date::now()->addMinutes(5)
);
}
return '/' . $this->poster;
return env('APP_URL') . '/' . $this->poster;
}
return '/images/no_product.jpg';
return env('APP_URL') . '/images/no_product.jpg';
}
public function getDataSheet()
@@ -257,7 +257,7 @@ class Product extends Model
Date::now()->addMinutes(5)
);
}
return '/' . $this->data_sheet;
return env('APP_URL') . '/' . $this->data_sheet;
}
return null;
}
@@ -271,10 +271,10 @@ class Product extends Model
Date::now()->addMinutes(5)
);
}
return '/' . $this->poster_thumb;
return env('APP_URL') . '/' . $this->poster_thumb;
}
return '/images/no_product.jpg';
return env('APP_URL') . '/images/no_product.jpg';
}
/**

View File

@@ -26,7 +26,7 @@ class AppServiceProvider extends ServiceProvider
date_default_timezone_set('Asia/Tashkent');
// set lang to uz
if (App::environment(['staging', 'production'])) {
URL::forceScheme('https');
URL::forceScheme('http');
}
}
}