hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit b7bbc28cafffee0b83211a6d7e89be0ccd18f155
parent c560a7537ab8eb5bf24468f03ec2210008a0c8fa
Author: spf13 <steve.francia@gmail.com>
Date:   Fri, 26 Jul 2013 09:25:30 -0400

fixing bug with server not finding right path

Diffstat:
Mmain.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.go b/main.go
@@ -119,7 +119,7 @@ func serve(port string, config *hugolib.Config) {
 
 	fmt.Println("Web Server is available at http://localhost:" + port)
 	fmt.Println("Press ctrl+c to stop")
-	panic(http.ListenAndServe(":"+port, http.FileServer(http.Dir(config.PublishDir))))
+	panic(http.ListenAndServe(":"+port, http.FileServer(http.Dir(config.GetAbsPath(config.PublishDir)))))
 }
 
 func buildSite(config *hugolib.Config) *hugolib.Site {