Commit 9ddbab59 authored by sdjc's avatar sdjc

Update config.go

parent 1eb87c5c
...@@ -53,7 +53,7 @@ var ( ...@@ -53,7 +53,7 @@ var (
func init() { func init() {
os.Chdir(path.Dir(os.Args[0])) os.Chdir(path.Dir(os.Args[0]))
BeeApp = NewApp() BeeApp = NewApp()
AppPath, _ = os.Getwd() AppPath = path.Dir(os.Args[0])
StaticDir = make(map[string]string) StaticDir = make(map[string]string)
TemplateCache = make(map[string]*template.Template) TemplateCache = make(map[string]*template.Template)
HttpAddr = "" HttpAddr = ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment