7 lines
127 B
Python
7 lines
127 B
Python
|
|
from fastapi import FastAPI
|
||
|
|
|
||
|
|
app = FastAPI()
|
||
|
|
|
||
|
|
@app.get("/")
|
||
|
|
def read_main():
|
||
|
|
return {"message": "hello world from traefik"}
|