PLT-2600/PLT-2770 Added Get Public Link modal and added new API for public file links (#2892)
* Switched public file links to use a GetLinkModal * Separated getFile and the new getPublicFile api calls
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
696ffb4745
Коммит
d2ddf40f56
@@ -43,6 +43,8 @@ type Routes struct {
|
||||
Preferences *mux.Router // 'api/v3/preferences'
|
||||
|
||||
License *mux.Router // 'api/v3/license'
|
||||
|
||||
Public *mux.Router // 'api/v3/public'
|
||||
}
|
||||
|
||||
var BaseRoutes *Routes
|
||||
@@ -67,6 +69,7 @@ func InitApi() {
|
||||
BaseRoutes.Admin = BaseRoutes.ApiRoot.PathPrefix("/admin").Subrouter()
|
||||
BaseRoutes.Preferences = BaseRoutes.ApiRoot.PathPrefix("/preferences").Subrouter()
|
||||
BaseRoutes.License = BaseRoutes.ApiRoot.PathPrefix("/license").Subrouter()
|
||||
BaseRoutes.Public = BaseRoutes.ApiRoot.PathPrefix("/public").Subrouter()
|
||||
|
||||
InitUser()
|
||||
InitTeam()
|
||||
|
||||
Ссылка в новой задаче
Block a user