Files
LifeFaq/app.py
Henrik Jess a5a155f238
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Failing after 1m5s
First real commit
2024-12-10 15:16:17 +01:00

11 lines
221 B
Python

from fastapi import FastAPI
from dotenv import load_dotenv
import os
load_dotenv()
app = FastAPI(title=os.getenv("APP_NAME", "Default App"))
@app.get("/")
def read_root():
return {"debug": os.getenv("DEBUG", "false")}