CORS fixing + nginx change
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 37s

This commit is contained in:
2025-11-13 12:56:04 -08:00
parent 7b3cb2c2fa
commit c0924a16da
3 changed files with 86 additions and 1 deletions

View File

@@ -440,3 +440,26 @@ npx supabase gen types typescript --project-id azmmnxkvjryracrnmhvj --schema pub
```
After running, you may need to restart your IDE's TypeScript server to pick up the changes.
# NGINX mime types issue
sudo nano /etc/nginx/mime.types
change
application/javascript js;
TO
application/javascript js mjs;
RESTART NGINX
sudo nginx -t
sudo systemctl reload nginx
actually the proper change was to do this in the /etc/nginx/sites-available/flyer-crawler.projectium.com file