mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(plugins): fixed failing unit tests, fixes #4280
This commit is contained in:
parent
f4666df7da
commit
d2aaa2211e
@ -32,7 +32,7 @@ func (fp *FrontendPluginBase) initFrontendPlugin() {
|
||||
fp.Info.Logos.Large = evalRelativePluginUrlPath(fp.Info.Logos.Large, fp.BaseUrl)
|
||||
|
||||
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 @@
|
||||
"name": "App Example",
|
||||
"id": "app-example",
|
||||
|
||||
"staticRoot":" ./public",
|
||||
"staticRoot": ".",
|
||||
"module": "app",
|
||||
|
||||
"pages": [
|
||||
|
Loading…
Reference in New Issue
Block a user