Browse Source

Merge pull request #2750 from elliot/patch-1

Fixed 404 error for robots.txt
Torkel Ödegaard 10 years ago
parent
commit
1282da52eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/cmd/web.go

+ 1 - 1
pkg/cmd/web.go

@@ -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"),