Change default baseURL to be . instead of empty string

This commit is contained in:
Miguel de la Cruz 2021-07-06 13:16:28 +02:00
parent 93cf26af1a
commit cceb380167

View file

@ -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
}