add router events
This commit is contained in:
parent
ff72cf3c05
commit
51634184af
@ -1,7 +1,7 @@
|
|||||||
from fastapi import FastAPI
|
from fastapi import FastAPI
|
||||||
from fastapi.middleware.cors import CORSMiddleware
|
from fastapi.middleware.cors import CORSMiddleware
|
||||||
|
|
||||||
from .routers import users, token, mail
|
from .routers import users, token, mail, events
|
||||||
from .dependencies import user_add
|
from .dependencies import user_add
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@ -24,6 +24,7 @@ app.add_middleware(
|
|||||||
app.include_router(users.router)
|
app.include_router(users.router)
|
||||||
app.include_router(token.router)
|
app.include_router(token.router)
|
||||||
app.include_router(mail.router)
|
app.include_router(mail.router)
|
||||||
|
app.include_router(events.router)
|
||||||
|
|
||||||
|
|
||||||
@app.on_event("startup")
|
@app.on_event("startup")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user