first commit
This commit is contained in:
21
app/main.py
Normal file
21
app/main.py
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
from fastapi import FastAPI
|
||||
from app.routers import printstatus, command
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
app.include_router(printstatus.router)
|
||||
app.include_router(command.router)
|
||||
|
||||
|
||||
|
||||
@app.get("/")
|
||||
def read_root():
|
||||
return {"Hello": "World"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user