From be5cd05d08e63ff9dac0d0f452b7687e179ecfdd Mon Sep 17 00:00:00 2001 From: ari melody Date: Mon, 20 Jan 2025 19:02:26 +0000 Subject: [PATCH] disable api account endpoints (for now) --- api/api.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/api.go b/api/api.go index af6c6a7..30ef73e 100644 --- a/api/api.go +++ b/api/api.go @@ -15,9 +15,17 @@ func Handler() http.Handler { // ACCOUNT ENDPOINTS + /* + // temporarily disabling these + // accounts should really be handled via the frontend rn, and juggling + // two different token bearer methods kinda sucks!! + // i'll look into generating API tokens on the frontend in the future + // TODO: generate API keys on the frontend + mux.Handle("/v1/login", handleLogin()) mux.Handle("/v1/register", handleAccountRegistration()) mux.Handle("/v1/delete-account", handleDeleteAccount()) + */ // ARTIST ENDPOINTS