Fix test failure with UI test if UI is deployed
This commit is contained in:
parent
0f0607baec
commit
ac6bff536f
@ -13,6 +13,11 @@ async def favicon():
|
||||
return FileResponse(str(Path(__file__).parent / 'ui/favicon.ico'))
|
||||
|
||||
|
||||
@router_ui.get('/fallback_file.html', include_in_schema=False)
|
||||
async def fallback():
|
||||
return FileResponse(str(Path(__file__).parent / 'ui/fallback_file.html'))
|
||||
|
||||
|
||||
@router_ui.get('/{rest_of_path:path}', include_in_schema=False)
|
||||
async def index_html(rest_of_path: str):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user