Skip to content

Commit

Permalink
add repo links
Browse files Browse the repository at this point in the history
  • Loading branch information
tofran committed Mar 31, 2024
1 parent 9c0c050 commit 617d3fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/index.jinja.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

{% block content %}

<h1>Text search example</h1>
<a href="https://github.com/tofran/fastapi-htmx-full-text-search-demo/">Source code</a>
<h1>Python FastAPI HTMX full-text-search demo</h1>

<form
hx-get="/html-api/items"
Expand Down
1 change: 1 addition & 0 deletions text_search_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ async def lifespan(app: FastAPI):

app = FastAPI(
title="Python FastAPI HTMX full-text-search demo",
description="[Source code](https://github.com/tofran/fastapi-htmx-full-text-search-demo/)",
debug=DEVELOPMENT_MODE,
openapi_url="/openapi.json" if DEVELOPMENT_MODE else None,
lifespan=lifespan,
Expand Down

0 comments on commit 617d3fa

Please sign in to comment.