mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
ACME letsencrypt support, more /help
This commit is contained in:
parent
1cc3dc1dc8
commit
c3b7b4f664
5 changed files with 16 additions and 5 deletions
|
@ -279,6 +279,14 @@ case "/oauth":
|
|||
T("_HTML_tail", "</td></tr></table></center></body>"));
|
||||
quit();
|
||||
return 1;
|
||||
} else if (abbrev("/.well-known/", item)) {
|
||||
P0(("ACME domain ownership check %O\n", item))
|
||||
if (file_size(item) > 0) {
|
||||
http_ok(prot, "application/x-letsencrypt-acme", 0);
|
||||
binary_message(read_file(item));
|
||||
quit();
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1578,9 +1578,8 @@ cmd(a, args, dest, command) {
|
|||
Commands: go, me, who, p(eople), bye.\n" MYTEMP,
|
||||
([ "_nick": MYLOWERNICK, "_command": a,
|
||||
"_page_help" : t ]) );
|
||||
else w("_info_commands", "\
|
||||
Commands: tell, talk, go, me, [_nick], who, p(eople), log, reply, greet, bye.\n"
|
||||
MYTEMP, ([ "_nick": MYLOWERNICK, "_command": a,
|
||||
else w("_info_commands", 0,
|
||||
([ "_nick": MYLOWERNICK, "_command": a,
|
||||
"_page_help" : t ]) );
|
||||
break;
|
||||
# else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue