more fixes
This commit is contained in:
parent
2028ed2001
commit
bb0ec02a53
2 changed files with 2 additions and 2 deletions
|
@ -4,5 +4,5 @@ WORKDIR /app
|
|||
COPY . .
|
||||
RUN pip install .
|
||||
|
||||
CMD python3 -m uvicorn lemmyprivacycheck.__main__:app --host 0.0.0.0 --port 8868
|
||||
CMD python3 -m uvicorn lemmyprivacycheck.__main__:app --host 0.0.0.0 --port 8868 --proxy-headers
|
||||
# CMD python3 -m gunicorn -w 4 -b 0.0.0.0 -k uvicorn.workers.UvicornWorker backend.main:app --reload
|
||||
|
|
|
@ -13,7 +13,7 @@ class JPEGResponse(fastapi.Response):
|
|||
|
||||
@app.get("/", response_class=PlainTextResponse)
|
||||
async def root():
|
||||
return "go to /image for the funny thingy"
|
||||
return "go to /img for the funny thingy"
|
||||
|
||||
@app.get("/img", response_class=JPEGResponse)
|
||||
async def getImage(request: fastapi.Request):
|
||||
|
|
Loading…
Reference in a new issue