fix: port 5000 conflicts with AirPlay on macOS
Use port 15000 for the default development port. If you ever cloned the repo on Mac, ran the demo, and saw the models list would never load, or saw 403 errors in browser console. Check the Server headers. Good chances are the request went to AirPlay service which is also listening on port 5000.
This commit is contained in:
parent
76e4e84716
commit
e50cd9757b
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ from collections import deque
|
|||
import threading
|
||||
|
||||
app = Flask(__name__)
|
||||
CORS(app, origins=["http://localhost:5173"])
|
||||
CORS(app, origins=["http://localhost:5173", "http://127.0.0.1:5173"])
|
||||
|
||||
# Thread-safe stats tracker for this worker process
|
||||
class StatsTracker:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue