diff options
| author | 2024-12-31 17:42:33 +0100 | |
|---|---|---|
| committer | 2024-12-31 17:42:33 +0100 | |
| commit | 33b6f2af00de70a7c0eb768ea7bf815d2f124aae (patch) | |
| tree | 1b418e6deb960e424bbfbd0b6b9437d6be87dc6a /httpd.c | |
| parent | Started support for Mastodon-like /share endpoint. (diff) | |
| download | penes-snac2-33b6f2af00de70a7c0eb768ea7bf815d2f124aae.tar.gz penes-snac2-33b6f2af00de70a7c0eb768ea7bf815d2f124aae.tar.xz penes-snac2-33b6f2af00de70a7c0eb768ea7bf815d2f124aae.zip | |
More work in the Mastodon-share webpoint.
Diffstat (limited to '')
| -rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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" |