소스 검색

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():