mirror of
https://github.com/documize/community.git
synced 2025-07-19 21:29:42 +02:00
Refactor custom & default logo logic
This commit is contained in:
parent
90aa9710a6
commit
dd355958a2
2 changed files with 24 additions and 11 deletions
|
@ -95,6 +95,7 @@ func RegisterEndpoints(rt *env.Runtime, s *store.Store) {
|
|||
AddPublic(rt, "reset/{token}", []string{"POST", "OPTIONS"}, nil, user.ResetPassword)
|
||||
AddPublic(rt, "share/{spaceID}", []string{"POST", "OPTIONS"}, nil, space.AcceptInvitation)
|
||||
AddPublic(rt, "attachment/{orgID}/{attachmentID}", []string{"GET", "OPTIONS"}, nil, attachment.Download)
|
||||
AddPublic(rt, "logo", []string{"GET", "OPTIONS"}, []string{"default", "true"}, meta.DefaultLogo)
|
||||
AddPublic(rt, "logo", []string{"GET", "OPTIONS"}, nil, meta.Logo)
|
||||
|
||||
//**************************************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue