mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
refactor(apps): more WIP work on apps
This commit is contained in:
@@ -30,9 +30,9 @@ func newMacaron() *macaron.Macaron {
|
||||
}
|
||||
|
||||
for _, route := range plugins.StaticRoutes {
|
||||
pluginRoute := path.Join("/public/plugins/", route.Url)
|
||||
log.Info("Plugin: Adding static route %s -> %s", pluginRoute, route.Path)
|
||||
mapStatic(m, route.Path, "", pluginRoute)
|
||||
pluginRoute := path.Join("/public/plugins/", route.UrlFragment)
|
||||
log.Info("Plugin: Adding static route %s -> %s", pluginRoute, route.Dir)
|
||||
mapStatic(m, route.Dir, "", pluginRoute)
|
||||
}
|
||||
|
||||
mapStatic(m, setting.StaticRootPath, "", "public")
|
||||
|
||||
Reference in New Issue
Block a user