mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
respect plugin manifest webapp bundle_path (#8393)
This commit is contained in:
@@ -164,6 +164,11 @@ func (m *Manifest) ClientManifest() *Manifest {
|
||||
cm.Name = ""
|
||||
cm.Description = ""
|
||||
cm.Backend = nil
|
||||
if cm.Webapp != nil {
|
||||
cm.Webapp = new(ManifestWebapp)
|
||||
*cm.Webapp = *m.Webapp
|
||||
cm.Webapp.BundlePath = "/static/" + m.Id + "_bundle.js"
|
||||
}
|
||||
return cm
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user