Add password support to multiplayer rooms
Introduces a password field to the Room model and database schema, enabling password-protected multiplayer rooms. Adds LIO router endpoints for room creation, user join/leave, and updates related imports and router registrations.
This commit is contained in:
2
main.py
2
main.py
@@ -15,6 +15,7 @@ from app.router import (
|
||||
chat_router,
|
||||
fetcher_router,
|
||||
file_router,
|
||||
lio_router,
|
||||
private_router,
|
||||
redirect_api_router,
|
||||
signalr_router,
|
||||
@@ -131,6 +132,7 @@ app.include_router(fetcher_router)
|
||||
app.include_router(file_router)
|
||||
app.include_router(auth_router)
|
||||
app.include_router(private_router)
|
||||
app.include_router(lio_router)
|
||||
|
||||
# CORS 配置
|
||||
origins = []
|
||||
|
||||
Reference in New Issue
Block a user