Fixups
This commit is contained in:
parent
2a87896958
commit
9792457ced
@ -948,8 +948,8 @@ class WebServer:
|
|||||||
# return FileResponse(alt_path)
|
# return FileResponse(alt_path)
|
||||||
|
|
||||||
# If neither path exists, return 404
|
# If neither path exists, return 404
|
||||||
logger.info(f"File not found for path {full_path}")
|
logger.info(f"File not found for path {full_path} -- returning index.html")
|
||||||
raise HTTPException(status_code=404, detail="File not found")
|
return FileResponse(os.path.join(defines.static_content, "index.html"))
|
||||||
|
|
||||||
async def save_context(self, context_id):
|
async def save_context(self, context_id):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user