CORS fixing + nginx change
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 37s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 37s
This commit is contained in:
23
README.md
23
README.md
@@ -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
|
||||
Reference in New Issue
Block a user