FilamentF
Filament2y ago
Liam

SpatieMediaLibrary plugin CORS issue@

Hi everyone

I'm using Spatie's Media Library to manage my images in Filament. I did setup an S3 bucket with the following CORS policy:


[
    {
        "AllowedHeaders": [],
        "AllowedMethods": [
            "GET",
            "PUT",
            "POST",
            "DELETE"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": []
    }
]
`

When I upload an image in Filament I still get a CORS issue. How can I solve this?
Was this page helpful?