diff options
-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() |