Skip to content

Commit

Permalink
chore: use index.html instead of off.html (#264)
Browse files Browse the repository at this point in the history
It's more universal for other projects re-using search-a-licious.
  • Loading branch information
alexgarel authored Dec 2, 2024
1 parent d363b41 commit fda44e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ def taxonomy_autocomplete(


@app.get("/", response_class=HTMLResponse)
def off_demo():
"""Redirects to the off.html page"""
return RedirectResponse(url="/static/off.html", status_code=status.HTTP_302_FOUND)
def serve_index():
"""Redirects to the index.html page"""
return RedirectResponse(url="/static/index.html", status_code=status.HTTP_302_FOUND)


@app.get("/off-test", response_class=HTMLResponse)
Expand Down
1 change: 1 addition & 0 deletions frontend/public/index.html

0 comments on commit fda44e1

Please sign in to comment.