Open fegen/docs/index.html as "rb"
Some checks failed
MegaLinter / MegaLinter (pull_request) Has been cancelled
Update website / update (pull_request) Has been cancelled

This commit is contained in:
marsien marsien 2026-04-16 13:58:56 +00:00
parent 1ea09e0408
commit 84963b42e2

View file

@ -73,7 +73,7 @@ class LabelingBot:
@app.get("/", response_class=HTMLResponse) @app.get("/", response_class=HTMLResponse)
async def root(): async def root():
with open("fegen/docs/index.html", "r") as f: with open("fegen/docs/index.html", "rb") as f:
index = f.read() index = f.read()
return index return index