feat: Add MinIO storage support and update image URLs
All checks were successful
Deploy Production (merchbay.com) / deploy (push) Successful in 2m54s
All checks were successful
Deploy Production (merchbay.com) / deploy (push) Successful in 2m54s
- Implemented MinIO storage driver in AppServiceProvider for S3-compatible storage. - Added helper functions to generate MinIO URLs for files and images. - Updated filesystem configuration to include MinIO settings. - Modified site configuration to include MinIO URL. - Enhanced Docker Compose configuration for local development with MinIO. - Updated various Blade templates to use MinIO URLs for images instead of local paths. - Ensured all image references in views are now pointing to MinIO storage.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<a href="#">
|
||||
<div class="store-logo password-protected" data-store-id="{{ $store->Id }}"
|
||||
data-store-url="{{ $store->StoreUrl }}">
|
||||
<img src="{{ config('site_config.uploads') . 'teamstore/' . $store->ImageFolder . '/' . $store->StoreLogo }}"
|
||||
<img src="{{ minio_url('teamstore/' . $store->ImageFolder . '/' . $store->StoreLogo) }}"
|
||||
class="d-block" alt="{{ $store->StoreName }}" />
|
||||
<div class="store-locked">
|
||||
<i class="fa fa-lock"></i>
|
||||
@@ -29,7 +29,7 @@
|
||||
@else
|
||||
<a href="{{ url('store') . '/' . $store->StoreUrl }}">
|
||||
<div class="store-logo">
|
||||
<img src="{{ config('site_config.uploads') . 'teamstore/' . $store->ImageFolder . '/' . $store->StoreLogo }}"
|
||||
<img src="{{ minio_url('teamstore/' . $store->ImageFolder . '/' . $store->StoreLogo) }}"
|
||||
class="d-block" alt="{{ $store->StoreName }}" />
|
||||
</div>
|
||||
<div class="store-name">{{ $store->StoreName }}</div>
|
||||
|
||||
Reference in New Issue
Block a user