diff --git a/mattermost-plugin/server/plugin.go b/mattermost-plugin/server/plugin.go index a4521f895..015c2c3be 100644 --- a/mattermost-plugin/server/plugin.go +++ b/mattermost-plugin/server/plugin.go @@ -98,7 +98,7 @@ func (p *Plugin) OnActivate() error { return fmt.Errorf("error initializing the DB: %v", err) } - baseURL := "" + baseURL := "." if mmconfig.ServiceSettings.SiteURL != nil { baseURL = *mmconfig.ServiceSettings.SiteURL }