Fix HTTPS asset loading behind proxy and redesign layout to playful toy-like 3D print webshop

This commit is contained in:
2026-10-31 15:52:08 +01:00
parent 69f1800fcd
commit fdf768b352
8 changed files with 533 additions and 433 deletions
+4 -1
View File
@@ -2,6 +2,7 @@
namespace App\Providers;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
@@ -19,6 +20,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
//
if (app()->environment('production') || str_starts_with(config('app.url', ''), 'https://')) {
URL::forceScheme('https');
}
}
}