Skip to content

Commit

Permalink
This work?
Browse files Browse the repository at this point in the history
  • Loading branch information
JDJGInc authored Apr 25, 2024
1 parent 3c0b4d5 commit 41e8ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ async def full_data(code: Optional[str] = None, state: Optional[str] = None):
# html responses with download html attribute
# le pain.

html = """
html = f"""
<pre>
{ "nice": "stats" }
</pre>
<a href="download_link.json" download>Download as JSON</a>
<a href="download_link.sqlite" download>Download as SQLite</a>
<a href="{f.name}" download>Download as SQLite</a>
"""
# suggested solution from python.
# write actual stats there soon
Expand Down

0 comments on commit 41e8ed7

Please sign in to comment.