ka1kuk commited on
Commit
3f6e5ed
·
1 Parent(s): 15f80b3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -13,8 +13,8 @@ app.add_middleware(
13
  allow_headers=["*"],
14
  )
15
 
16
- @app.get("/proxy/")
17
- @app.post("/proxy/")
18
  async def proxy(request: Request, url: str):
19
  if not url:
20
  raise HTTPException(status_code=400, detail="URL not provided")
 
13
  allow_headers=["*"],
14
  )
15
 
16
+ @app.get("/")
17
+ @app.post("/")
18
  async def proxy(request: Request, url: str):
19
  if not url:
20
  raise HTTPException(status_code=400, detail="URL not provided")