diff options
author | Michael McVady <michaelm@telnyx.com> | 2025-03-13 18:59:22 -0500 |
---|---|---|
committer | Michael McVady <michaelm@telnyx.com> | 2025-03-13 18:59:22 -0500 |
commit | 5b4380a191c52611d6178e7b19c5b3ab468be5af (patch) | |
tree | b47207fdfa5de3dce73d3a8eb63d355d599cbc6a | |
parent | 3e48aec60d875018b442bcc7bb323af0fa9ad759 (diff) |
Count goats
-rw-r--r-- | app.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,7 @@ TEMPLATE_STR = """<!DOCTYPE html> </head> <body style="background-color: {{ color }}"> <h1>{{ message }}</h1> +<script data-goatcounter="https://test.bunkergate.org/count" async src="https://test.bunkergate.org/count.js"></script> </body> </html> """ @@ -69,11 +70,13 @@ def random_light() -> Template: @get("/") async def get_index() -> Template: + """Return index""" return random_light() @post("/") async def post_index() -> Template: + """Update index""" return random_light() |