import os from fastapi import FastAPI from fastapi.responses import JSONResponse o = os.getenv("OS_QL") print(f"Secret here: {o}") app = FastAPI() @app.get("/") async def home(): print("Fetch base") return JSONResponse(content={"message": "running"}) @app.get("/ping") async def ping(): print("Received ping request") return JSONResponse(content={"message": "pong"})