summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar Kelson Vibber2023-09-21 01:12:28 +0000
committerGravatar Kelson Vibber2023-09-21 01:12:28 +0000
commitd9b6688e0307f8f3f3522a1271a9fa54804e788b (patch)
tree12e8d260a9296b9ec2ab7d9ba1161a0ef349123d /mastoapi.c
parentExplicitly support dark mode to fix mismatched colors in clients like Tusky (diff)
downloadsnac2-d9b6688e0307f8f3f3522a1271a9fa54804e788b.tar.gz
snac2-d9b6688e0307f8f3f3522a1271a9fa54804e788b.tar.xz
snac2-d9b6688e0307f8f3f3522a1271a9fa54804e788b.zip
Add title to OAuth page for web-based clients like Elk
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mastoapi.c b/mastoapi.c
index e166b2a..8155df5 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -149,6 +149,7 @@ const char *login_page = ""
149"<!DOCTYPE html>\n" 149"<!DOCTYPE html>\n"
150"<html>\n" 150"<html>\n"
151"<head>\n" 151"<head>\n"
152"<title>OAuth Identify: Snac2</title>\n"
152"<style>:root {color-scheme: light dark}</style>\n" 153"<style>:root {color-scheme: light dark}</style>\n"
153"</head>\n" 154"</head>\n"
154"<body><h1>%s OAuth identify</h1>\n" 155"<body><h1>%s OAuth identify</h1>\n"