diff --git a/app/main.py b/app/main.py index 806a274..899208f 100644 --- a/app/main.py +++ b/app/main.py @@ -23,16 +23,14 @@ from collections import defaultdict import json from fastapi import FastAPI, WebSocket, WebSocketDisconnect, Form -# from fastapi.responses import FileResponse, HTMLResponse from fastapi.exceptions import HTTPException from fastapi.staticfiles import StaticFiles from starlette.middleware.cors import CORSMiddleware -# Change from dict[str, WebSocket] to dict[str, set[WebSocket]] active_connections: dict[str, set[WebSocket]] = defaultdict(set) app = FastAPI( - version="1.1.0-beta-v3", + version="1.1.0-beta-v4", docs_url=None, # Disable Swagger UI redoc_url=None # Disable ReDoc ) diff --git a/static/index.html b/static/index.html index 88f7b6b..04f9771 100644 --- a/static/index.html +++ b/static/index.html @@ -89,16 +89,6 @@ opacity: 1; } - .copy-button svg { - width: 1.25rem; - height: 1.25rem; - fill: currentColor; - } - - .copy-button.copied svg { - fill: #4ade80; - } - /* JSON Editor styles */ .jsoneditor { border: none !important; @@ -115,27 +105,31 @@ - -
-
- -
+ + +
+ +
+ + +
+