summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2024-12-31 17:42:33 +0100
committerGravatar default2024-12-31 17:42:33 +0100
commit33b6f2af00de70a7c0eb768ea7bf815d2f124aae (patch)
tree1b418e6deb960e424bbfbd0b6b9437d6be87dc6a /httpd.c
parentStarted support for Mastodon-like /share endpoint. (diff)
downloadpenes-snac2-33b6f2af00de70a7c0eb768ea7bf815d2f124aae.tar.gz
penes-snac2-33b6f2af00de70a7c0eb768ea7bf815d2f124aae.tar.xz
penes-snac2-33b6f2af00de70a7c0eb768ea7bf815d2f124aae.zip
More work in the Mastodon-share webpoint.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index f567d17..626ae9d 100644
--- a/httpd.c
+++ b/httpd.c
@@ -173,7 +173,7 @@ const char *share_page = ""
173"<style>:root {color-scheme: light dark}</style>\n" 173"<style>:root {color-scheme: light dark}</style>\n"
174"</head>\n" 174"</head>\n"
175"<body><h1>%s link share</h1>\n" 175"<body><h1>%s link share</h1>\n"
176"<form method=\"post\" action=\"%s/share-bridge\">\n" 176"<form method=\"get\" action=\"%s/share-bridge\">\n"
177"<textarea name=\"content\" rows=\"6\" wrap=\"virtual\" required=\"required\" style=\"width: 50em\">%s</textarea>\n" 177"<textarea name=\"content\" rows=\"6\" wrap=\"virtual\" required=\"required\" style=\"width: 50em\">%s</textarea>\n"
178"<p>Login: <input type=\"text\" name=\"login\" autocapitalize=\"off\" required=\"required\"></p>\n" 178"<p>Login: <input type=\"text\" name=\"login\" autocapitalize=\"off\" required=\"required\"></p>\n"
179"<input type=\"submit\" value=\"OK\">\n" 179"<input type=\"submit\" value=\"OK\">\n"