79387367

Date: 2025-01-25 19:29:37
Score: 1
Natty:
Report link
  1. Configure CORS Policy for Your S3 Bucket Follow these steps:

  2. Go to your AWS S3 bucket in the AWS Management Console.

  3. Navigate to the Permissions tab.

  4. Scroll down to the Cross-origin resource sharing (CORS) section.

  5. Add the following CORS configuration:

    [ { "AllowedHeaders": [""], "AllowedMethods": ["GET", "HEAD"], "AllowedOrigins": [""], "ExposeHeaders": ["ETag"], "MaxAgeSeconds": 3000 } ]

After this recheck the vite.config.js for Base URL

base: process.env.ASSET_URL || '/',

also clear config cache php artisan config:clear

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rajnandanweb