cors error on Form fileupload with minio
I get a cors error when using: http://example.test,
I can upload to minio via a laravel route but not via
Filament. :
where do I setup the cors for filament/livewire?
FILESYSTEM_DISK=s3
AWS_ENDPOINT=http://minio:9000
AWS_USE_PATH_STYLE_ENDPOINT=true
AWS_URL=http://localhost:9000/images, (tried to change this to :http://example.test/images
3 Replies
what is your env set to APP_URL
see:
https://filamentphp.com/docs/3.x/forms/fields/file-upload#configuring-the-storage-disk-and-directory
It explains about the CORS Headers.