disable api account endpoints (for now)
This commit is contained in:
parent
570cdf6ce2
commit
be5cd05d08
|
@ -15,9 +15,17 @@ func Handler() http.Handler {
|
||||||
|
|
||||||
// ACCOUNT ENDPOINTS
|
// 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/login", handleLogin())
|
||||||
mux.Handle("/v1/register", handleAccountRegistration())
|
mux.Handle("/v1/register", handleAccountRegistration())
|
||||||
mux.Handle("/v1/delete-account", handleDeleteAccount())
|
mux.Handle("/v1/delete-account", handleDeleteAccount())
|
||||||
|
*/
|
||||||
|
|
||||||
// ARTIST ENDPOINTS
|
// ARTIST ENDPOINTS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue