This commit is contained in:
James Ketr 2025-05-23 11:59:25 -07:00
parent 2a87896958
commit 9792457ced

View File

@ -948,8 +948,8 @@ class WebServer:
# return FileResponse(alt_path)
# If neither path exists, return 404
logger.info(f"File not found for path {full_path}")
raise HTTPException(status_code=404, detail="File not found")
logger.info(f"File not found for path {full_path} -- returning index.html")
return FileResponse(os.path.join(defines.static_content, "index.html"))
async def save_context(self, context_id):
"""