Fixes web files not found when plugin directory is custom (#609)

This commit is contained in:
Miguel de la Cruz 2021-06-21 11:22:58 +02:00 committed by GitHub
parent 66975bdfe9
commit bf18d39242
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ func (p *Plugin) OnActivate() error {
DBTablePrefix: "focalboard_",
UseSSL: false,
SecureCookie: true,
WebPath: "./plugins/focalboard/pack",
WebPath: *mmconfig.PluginSettings.Directory + "/focalboard/pack",
FilesDriver: *mmconfig.FileSettings.DriverName,
FilesPath: *mmconfig.FileSettings.Directory,
FilesS3Config: filesS3Config,