mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 22:12:08 +08:00
feat(plugins): progress on plugins page
This commit is contained in:
@ -56,6 +56,10 @@ func (fp *FrontendPluginBase) handleModuleDefaults() {
|
||||
}
|
||||
|
||||
func evalRelativePluginUrlPath(pathStr string, pluginId string) string {
|
||||
if pathStr == "" {
|
||||
return ""
|
||||
}
|
||||
|
||||
u, _ := url.Parse(pathStr)
|
||||
if u.IsAbs() {
|
||||
return pathStr
|
||||
|
Reference in New Issue
Block a user