commit 7e0ac64b856d6efa93cdbdd2359ee500863c6ef8
parent af8f1ef273e457318cb48f198e73c59e57373723
Author: Louis Brauer <louis@openbooking.ch>
Date: Fri, 31 May 2024 01:28:20 +0200
Make Oauth login page actually readable on mobile devices
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/mastoapi.c b/mastoapi.c
@@ -152,6 +152,7 @@ const char *login_page = ""
"<html>\n"
"<head>\n"
"<title>%s OAuth - Snac2</title>\n"
+"<meta content=\"width=device-width, initial-scale=1, minimum-scale=1, user-scalable=no\" name=\"viewport\">"
"<style>:root {color-scheme: light dark}</style>\n"
"</head>\n"
"<body><h1>%s OAuth identify</h1>\n"