all repos — honk @ b8886d2084139057af970d4c09b8e5f71e092e4f

my fork of honk

u
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Feb 2024 10:16:21 +0200
commit

b8886d2084139057af970d4c09b8e5f71e092e4f

parent

e1b69a764eb05cb75a7051081fc0efedeea7a2a1

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M web.goweb.go

@@ -2993,6 +2993,7 @@ mastopost.HandleFunc("/oauth/authorize", oauthorize)

mastopost.HandleFunc("/oauth/token", oauthtoken) mastoget.HandleFunc("/api/v1/instance", instance) mastopost.HandleFunc("/api/v1/apps", apiapps) + mastoget.HandleFunc("/api/v1/accounts/verify_credentials", checktoken(verifycreds)) mastoget.HandleFunc("/api/v1/apps/verify_credentials", checktoken(verifycreds)) loggedmux := handlers.LoggingHandler(os.Stdout, mux)