fix
This commit is contained in:
parent
77d12fa6a7
commit
476ad2bbce
@ -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={})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user