generated from hjess/PythonTemplateProject
Middelware update and footer content
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 39s
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 39s
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
from fastapi import FastAPI
|
||||
from contextlib import asynccontextmanager
|
||||
from fastapi.staticfiles import StaticFiles
|
||||
|
||||
from app.controllers.route_to_web import RouteToWeb
|
||||
from app.services.markdown_processor import MarkdownProcessor
|
||||
from app.services.metadata_processor import MetadataProcessor
|
||||
from app.controllers.dynamic_controller import DynamicController
|
||||
@@ -38,11 +40,13 @@ class Application:
|
||||
def _include_routers(self):
|
||||
"""Include all route controllers."""
|
||||
category_controller = CategoryController()
|
||||
dynamic_controller = DynamicController( "./data" )
|
||||
#dynamic_controller = DynamicController( "./data" )
|
||||
route_to_web = RouteToWeb(self.app)
|
||||
|
||||
|
||||
self.app.include_router( category_controller.router )
|
||||
self.app.include_router( dynamic_controller.router )
|
||||
#self.app.include_router( dynamic_controller.router )
|
||||
self.app.include_router(route_to_web.router)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user