From cdd7fbaecb5b4012b1fb6de9e7835703d5ae3bce Mon Sep 17 00:00:00 2001 From: eko54r Date: Fri, 3 Apr 2026 21:06:42 +0700 Subject: [PATCH] csrf --- app/Http/Middleware/TrustProxies.php | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index 3391630e..559dd2fc 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -12,7 +12,7 @@ class TrustProxies extends Middleware * * @var array|string|null */ - protected $proxies; + protected $proxies = '*'; /** * The headers that should be used to detect proxies. diff --git a/entrypoint.sh b/entrypoint.sh index f8a761a9..918e6e99 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -97,7 +97,7 @@ php artisan config:clear || true php artisan view:clear || true php artisan route:clear || true php artisan cache:clear || true - +php artisan optimize:clear || true # Verify Vite manifest exists if [ -f public/build/manifest.json ]; then