aboutsummaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/app.py b/app.py
index 27f7a9e..ab23e45 100644
--- a/app.py
+++ b/app.py
@@ -16,6 +16,9 @@ lifxlan = LifxLAN()
DEFAULT_COLOR = "#FF0000"
TEMPLATE_STR = """<!DOCTYPE html>
<html>
+<head>
+<title>lux</title>
+</head>
<body style="background-color: {{ color }}">
<h1>{{ message }}</h1>
</body>
@@ -61,7 +64,7 @@ async def get_index() -> Template:
)
return Template(
- template_str=TEMPLATE_STR, context={"color": rgb_hex, "message": ""}
+ template_str=TEMPLATE_STR, context={"color": rgb_hex, "message": "&nbsp;"}
)