u
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Feb 2024 10:16:21 +0200
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
web.go
→
web.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)