Remove old CORS handling

This commit is contained in:
0880
2026-01-17 18:13:57 +03:30
parent 57b0d69eae
commit cc89a32eae

View File

@@ -258,9 +258,6 @@ class App:
await server.serve_forever() await server.serve_forever()
AccessControlAllowOrigin = "*"
def HTTPResponse( def HTTPResponse(
content: str, status=200, content_type="text/plain; charset=utf-8", headers=[] content: str, status=200, content_type="text/plain; charset=utf-8", headers=[]
) -> bytes: ) -> bytes: