summaryrefslogtreecommitdiffstats
path: root/model/manifest.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/manifest.go')
-rw-r--r--model/manifest.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/model/manifest.go b/model/manifest.go
index fdf69c2e6..32d4341cd 100644
--- a/model/manifest.go
+++ b/model/manifest.go
@@ -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
}