Fixups
This commit is contained in:
parent
2a87896958
commit
9792457ced
@ -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):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user