Change board serverRoot from '/plugins/focalboard' to '/boards' (#4467)
* change board serverRoot from '/plugins/focalboard' to '/boards' * update based on feature flag * Update mattermost-plugin/server/boards/boardsapp_util.go Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com> Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com> Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
parent
297e8f4d31
commit
9ff7624c63
1 changed files with 5 additions and 1 deletions
|
@ -80,8 +80,12 @@ func createBoardsConfig(mmconfig mm_model.Config, baseURL string, serverID strin
|
|||
showFullName = *mmconfig.PrivacySettings.ShowFullName
|
||||
}
|
||||
|
||||
serverRoot := baseURL + "/plugins/focalboard"
|
||||
if mmconfig.FeatureFlags.BoardsProduct {
|
||||
serverRoot = baseURL + "/boards"
|
||||
}
|
||||
return &config.Configuration{
|
||||
ServerRoot: baseURL + "/plugins/focalboard",
|
||||
ServerRoot: serverRoot,
|
||||
Port: -1,
|
||||
DBType: *mmconfig.SqlSettings.DriverName,
|
||||
DBConfigString: *mmconfig.SqlSettings.DataSource,
|
||||
|
|
Loading…
Reference in a new issue