fix: wrong account paths
This commit is contained in:
parent
ec9026c8b1
commit
40479d8bb3
|
@ -29,9 +29,9 @@ 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,
|
||||
"GET /s5/account/register": h.AccountRegisterChallenge,
|
||||
"POST /s5/account/register": h.AccountRegister,
|
||||
"GET /s5/account/login": h.AccountLoginChallenge,
|
||||
"POST /s5/account/login": h.AccountLogin,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue