mirror of
https://github.com/holyarahippo06/PS4-CDN-Server-py.git
synced 2026-10-06 09:00:20 +02:00
Update main.py
This commit is contained in:
1 parent
b9c3800a13
commit
cda1dad597
1 file changed
-1
@@ -118,7 +118,6 @@ async def save_config_endpoint(config_data: ConfigUpdateRequest):
|
||||
except Exception as e:
|
||||
raise HTTPException(status_code=500, detail=f"Failed to save configuration: {e}")
|
||||
|
||||
# ... (The rest of your endpoints: get_all_packages, get_hb_store_db, etc. remain unchanged) ...
|
||||
@app.get("/api/packages")
|
||||
async def get_all_packages():
|
||||
return JSONResponse(content=server_state["packages"])
|
||||
|
||||
Reference in new issue
Block a user