Commit d2aaa221 by Torkel Ödegaard

fix(plugins): fixed failing unit tests, fixes #4280

parent f4666df7
...@@ -32,7 +32,7 @@ func (fp *FrontendPluginBase) initFrontendPlugin() { ...@@ -32,7 +32,7 @@ func (fp *FrontendPluginBase) initFrontendPlugin() {
fp.Info.Logos.Large = evalRelativePluginUrlPath(fp.Info.Logos.Large, fp.BaseUrl) fp.Info.Logos.Large = evalRelativePluginUrlPath(fp.Info.Logos.Large, fp.BaseUrl)
for i := 0; i < len(fp.Info.Screenshots); i++ { for i := 0; i < len(fp.Info.Screenshots); i++ {
fp.Info.Screenshots[i].Path = evalRelativePluginUrlPath(fp.Info.Screenshots[i].Path, fp.Id) fp.Info.Screenshots[i].Path = evalRelativePluginUrlPath(fp.Info.Screenshots[i].Path, fp.BaseUrl)
} }
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"name": "App Example", "name": "App Example",
"id": "app-example", "id": "app-example",
"staticRoot":" ./public", "staticRoot": ".",
"module": "app", "module": "app",
"pages": [ "pages": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment