respect plugin manifest webapp bundle_path (#8393)

This commit is contained in:
Chris
2018-03-07 13:53:07 -06:00
committed by GitHub
parent e8943936c5
commit 03b6d1f652
2 changed files with 22 additions and 4 deletions

View File

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