diff options
Diffstat (limited to 'cmd/blog/appengine.go')
-rw-r--r-- | cmd/blog/appengine.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cmd/blog/appengine.go b/cmd/blog/appengine.go index e9be514..e65df53 100644 --- a/cmd/blog/appengine.go +++ b/cmd/blog/appengine.go @@ -8,10 +8,16 @@ package main -import "net/http" +import ( + "net/http" + + "code.google.com/p/go.blog/pkg/blog" +) func init() { - s, err := NewServer("content/", "template/") + config.ContentPath = "content/" + config.TemplatePath = "template/" + s, err := blog.NewServer(config) if err != nil { panic(err) } |