Fixed a variable
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
from fastapi import FastAPI
|
||||
from app.routers import info
|
||||
from app.routers import info, delivery, customer
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
|
||||
app = FastAPI()
|
||||
@@ -22,7 +22,8 @@ app.add_middleware(
|
||||
|
||||
|
||||
app.include_router(info.router)
|
||||
|
||||
app.include_router(delivery.router)
|
||||
app.include_router(customer.router)
|
||||
|
||||
@app.get("/")
|
||||
def read_root():
|
||||
|
||||
Reference in New Issue
Block a user