Skip to content

Commit

Permalink
fix favicon path
Browse files Browse the repository at this point in the history
  • Loading branch information
mna committed Jul 24, 2013
1 parent 16c62ec commit 15df488
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ import (
"github.com/PuerkitoBio/ghost/handlers"
)

var (
// Favicon path and cache duration
faviconPath = filepath.Join(PublicDir, "favicon.ico")
faviconCache = 2 * 24 * time.Hour
)

// Start serving the blog.
func run() {
var (
faviconPath = filepath.Join(PublicDir, "favicon.ico")
faviconCache = 2 * 24 * time.Hour
)

h := handlers.FaviconHandler(
handlers.PanicHandler(
handlers.LogHandler(
Expand Down

0 comments on commit 15df488

Please sign in to comment.