claude
claude
FFilament
Created by claude on 2/22/2025 in #❓┊help
401 on file uploads after switching to HTTP for localhost
the proxy was to test MinIO
10 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
401 on file uploads after switching to HTTP for localhost
I've decided to avoid proxy in local dev, so the problem is gone
10 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
401 on file uploads after switching to HTTP for localhost
@igorclauss yes. this issue began when I put laravel behind a caddy proxy in local dev
10 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
401 on file uploads after switching to HTTP for localhost
commenting out this line in FileUploadController.php and FilePreviewController.php fixes the problem, but this doesn't sound good
10 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
401 on file uploads after switching to HTTP for localhost
//abort_unless(request()->hasValidSignature(), 401)
//abort_unless(request()->hasValidSignature(), 401)
10 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
but, now when I try to upload a file, I'm getting 401 unauthorized BUT it seems the CSRF problem is fixed
15 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
I'll just try http on localhost
15 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
so I thought, since it worked perfectly in production
15 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
when I put my laravel server behind reverse_proxy (caddy) file uploads started saying 'CSRF mismatch error'
15 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
is because
15 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
the reason I installed HTTPS on localhost
15 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
?
15 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
public function boot(): void
{ URL::forceScheme('https);
}
public function boot(): void
{ URL::forceScheme('https);
}
15 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
I'll try URL::forceScheme('https)
15 replies
FFilament
Created by claude on 2/22/2025 in #❓┊help
CORS problem when switching to HTTPS for local dev
I've not set ASSET_URL, should I?
15 replies