Added doctype HTML to stop Safari converting selectors in embedded CSS to lower case

This commit is contained in:
Paulus Schoutsen committed 2014-11-14 00:26:20 -08:00
1 parent bdfb8deb94
commit 20ff5fadee
5 files changed
+12 -13

No files matched your search

+2 -1
View File
@@ -348,7 +348,8 @@ class RequestHandler(SimpleHTTPRequestHandler):
else:
app_url = "frontend-{}.html".format(frontend.VERSION)
write(("<html>"
write(("<!doctype html>"
"<html>"
"<head><title>Home Assistant</title>"
"<meta name='mobile-web-app-capable' content='yes'>"
"<link rel='shortcut icon' href='/static/favicon.ico' />"