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:
nobody 2025-12-03 10:37:44 -08:00
commit e50cd9757b
Signed by: GrocerPublishAgent
GPG key ID: D460CD54A9E3AB86
2 changed files with 2 additions and 2 deletions

View file

@ -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: