sharktide commited on
Commit
fd26863
·
verified ·
1 Parent(s): 82220b7

Update status.py

Browse files
Files changed (1) hide show
  1. status.py +0 -6
status.py CHANGED
@@ -3,12 +3,6 @@ from fastapi import APIRouter, Response
3
  from fastapi.responses import JSONResponse
4
 
5
  router = APIRouter(prefix="/status")
6
- router.add_middleware(
7
- CORSMiddleware,
8
- allow_origins=["*"],
9
- allow_methods=["GET", "POST", "HEAD"],
10
- allow_headers=["*"],
11
- )
12
 
13
  @router.head("/sfx")
14
  async def head_sfx():
 
3
  from fastapi.responses import JSONResponse
4
 
5
  router = APIRouter(prefix="/status")
 
 
 
 
 
 
6
 
7
  @router.head("/sfx")
8
  async def head_sfx():