浏览代码

Update branch to master.

Dominique CLAUSE 2 年之前
父节点
当前提交
d6fa911a98
共有 1 个文件被更改,包括 0 次插入2 次删除
  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():