From 40479d8bb30c58bdc0c0b1202dfdd4faabd2aab0 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 16 Jan 2024 13:57:33 -0500 Subject: [PATCH] fix: wrong account paths --- api/s5.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/s5.go b/api/s5.go index 8f7887f..6a97302 100644 --- a/api/s5.go +++ b/api/s5.go @@ -28,10 +28,10 @@ func (s S5API) Initialize(portal interfaces.Portal, protocol interfaces.Protocol func getRoutes(h *s5.HttpHandler) map[string]jape.Handler { return map[string]jape.Handler{ - "POST /s5/upload": h.SmallFileUpload, - "GET /account/register": h.AccountRegisterChallenge, - "POST /account/register": h.AccountRegister, - "GET /account/login": h.AccountLoginChallenge, - "POST /account/login": h.AccountLogin, + "POST /s5/upload": h.SmallFileUpload, + "GET /s5/account/register": h.AccountRegisterChallenge, + "POST /s5/account/register": h.AccountRegister, + "GET /s5/account/login": h.AccountLoginChallenge, + "POST /s5/account/login": h.AccountLogin, } }