This commit is contained in:
Linus Vogel 2025-12-21 17:20:25 +01:00
parent 77d12fa6a7
commit 476ad2bbce

View File

@ -2,6 +2,7 @@ from fastapi import FastAPI
from starlette.middleware.authentication import AuthenticationMiddleware
from starlette.requests import Request
from fastapi.responses import HTMLResponse, PlainTextResponse
from starlette.responses import JSONResponse
from pillar_tool.middleware.basicauth_backend import BasicAuthBackend
@ -22,4 +23,4 @@ async def root():
@app.get("/pillar/<param>")
async def pillar(param: str):
print(param)
return None
return JSONResponse(content={})