Remove old CORS handling
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user