kenton-li commited on
Commit
bac61af
1 Parent(s): 007af10

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -6,7 +6,7 @@ app = FastAPI()
6
 
7
  @app.api_route("/{path:path}", methods=["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"])
8
  async def proxy(request: Request, path: str):
9
- target_url = f"http://vps.yunxiang.li:1234/{path}"
10
 
11
  async with httpx.AsyncClient() as client:
12
  method = request.method
 
6
 
7
  @app.api_route("/{path:path}", methods=["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"])
8
  async def proxy(request: Request, path: str):
9
+ target_url = f"http://216.128.139.239:1234/{path}"
10
 
11
  async with httpx.AsyncClient() as client:
12
  method = request.method