Skip to content

Commit c1f0b69

Browse files
committed
Fixing router priorities
Updated requirements
1 parent e343382 commit c1f0b69

File tree

2 files changed

+23
-18
lines changed

2 files changed

+23
-18
lines changed

requirements.txt

+19-16
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
-i https://pypi.org/simple
2-
fastapi>=0.103.2; python_version >= '3.11'
3-
uvicorn>=0.23.2; python_version >= '3.11'
4-
gunicorn>=21.2.0; python_version >= '3.11'
5-
python-multipart>=0.0.6; python_version >= '3.11'
6-
annotated-types>=0.5.0
7-
anyio>=3.7.1
8-
click>=8.1.7
9-
h11>=0.14.0
10-
idna>=3.4
11-
packaging>=23.2
12-
pydantic>=2.4.2
13-
pydantic-core>=2.10.1
14-
sniffio>=1.3.0
15-
starlette>=0.27.0
16-
typing-extensions>=4.8.0
17-
websockets>=12.0
2+
annotated-types==0.6.0
3+
anyio==4.3.0
4+
certifi==2024.2.2
5+
charset-normalizer==3.3.2
6+
click==8.1.7
7+
fastapi==0.110.1
8+
gunicorn==21.2.0
9+
h11==0.14.0
10+
idna==3.6
11+
packaging==24.0
12+
pydantic==2.6.4
13+
pydantic-core==2.16.3
14+
requests==2.31.0
15+
sniffio==1.3.1
16+
starlette==0.37.2
17+
typing-extensions==4.11.0
18+
urllib3==2.2.1
19+
uvicorn==0.29.0
20+
websockets==12.0

webapp.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
from views import http_router, ws_router
77

88
app = FastAPI()
9-
app.include_router(http_router)
10-
app.include_router(ws_router)
119

1210

1311
@app.get('/')
@@ -25,6 +23,10 @@ async def get_health():
2523
return {"status": "ok"}
2624

2725

26+
app.include_router(http_router)
27+
app.include_router(ws_router)
28+
29+
2830
# Mount local static for HTML
2931
app.mount('/static', StaticFiles(directory='static', html=True), name='static')
3032

0 commit comments

Comments
 (0)