mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-06 00:18:25 -04:00
Added the rooms routes to the main application.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -7,6 +7,7 @@ from fastapi import FastAPI
|
||||
from backend import config
|
||||
from backend.logging import setup_logging
|
||||
from backend.models import create_db_and_tables
|
||||
from backend.routers import rooms
|
||||
from backend.routers import users
|
||||
|
||||
|
||||
@@ -30,6 +31,7 @@ app_configs["lifespan"] = lifespan
|
||||
app = FastAPI(**app_configs)
|
||||
|
||||
app.include_router(users.router)
|
||||
app.include_router(rooms.router)
|
||||
|
||||
setup_logging(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user