Untitled
import app.models from app.helpers.custom_logger import BackendLogger from fastapi import FastAPI from fastapi.middleware.gzip import GZipMiddleware from .controllers import status_controller from .graphql.schema import router app = FastAPI() app.add_middleware(GZipMiddleware, minimum_size=1000) app.include_router(status_controller) app.include_router(router, prefix="/graphql")
Leave a Comment