-
Notifications
You must be signed in to change notification settings - Fork 527
Open
Description
On Mac OS Ventura, I kept getting 'Error starting scraper' errors after clicking on the Start Scraper button. I checked Chrome devtools and saw that I was getting CORS errors ('No 'Access-Control-Allow-Origin' header is present on the requested resource').
I know Flask CORS is supposed to avoid this issue, but also tried to explicitly add the correct response headers. No luck.
Mac OS is now using port 5000 for Airplay, the port that Flask defaults to. I changed the frontend and backend to use port 5050 the app now works.
The changes are:
- Search and replace all occurrences of '5000' with '5050'
- In app.py, replace 'app.run()' with app.run(port=5050)
I can submit a PR if you want to changes.
gee455
Metadata
Metadata
Assignees
Labels
No labels