diff --git a/aggregator.py b/aggregator.py index 3f49cb9..08d170e 100644 --- a/aggregator.py +++ b/aggregator.py @@ -313,6 +313,12 @@ def index(): return send_from_directory(ROOT_DIR, "index.html") +@app.route("/openapi.yaml") +def openapi_spec(): + """Serve OpenAPI specification.""" + return send_from_directory(ROOT_DIR, "openapi.yaml", mimetype="text/yaml") + + @app.route("/status", methods=["GET"]) def get_status(): """Return current status as JSON.""" diff --git a/index.html b/index.html index 9bc8b65..7b60f3f 100644 --- a/index.html +++ b/index.html @@ -217,7 +217,7 @@ const emoteEl = document.getElementById("emote"); const messageEl = document.getElementById("message"); const POLL_INTERVAL = 2000; - const VERSION = "v1.3.2"; + const VERSION = "v1.3.3"; // Sound system let audioCtx = null;