Browse Source

Update branch to master.

Dominique CLAUSE 2 năm trước cách đây
mục cha
commit
d6fa911a98
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      nicegui/nicegui.py

+ 0 - 2
nicegui/nicegui.py

@@ -54,8 +54,6 @@ def get_dependencies(id: int, name: str):
     raise HTTPException(status_code=404, detail=f'dependency "{name}" with ID {id} not found')
 
 
-@app.get(f'/_nicegui/{__version__}' + '/library/{name}')
-def get_dependencies(name: str):
 @app.get(f'/_nicegui/{__version__}' + '/library/{name}/{file}')
 def get_dependencies(name: str, file: str):
     if name in libraries and libraries[name]['path'].exists():