mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #2750 from elliot/patch-1
Fixed 404 error for robots.txt
This commit is contained in:
commit
1282da52eb
@ -33,7 +33,7 @@ func newMacaron() *macaron.Macaron {
|
||||
mapStatic(m, "css", "css")
|
||||
mapStatic(m, "img", "img")
|
||||
mapStatic(m, "fonts", "fonts")
|
||||
mapStatic(m, "robots.txt", "robots.txxt")
|
||||
mapStatic(m, "robots.txt", "robots.txt")
|
||||
|
||||
m.Use(macaron.Renderer(macaron.RenderOptions{
|
||||
Directory: path.Join(setting.StaticRootPath, "views"),
|
||||
|
Loading…
Reference in New Issue
Block a user