1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 02:20:49 +00:00

Fix :supervisor work dir

This commit is contained in:
Daniel 2016-11-08 11:14:48 +08:00 committed by GitHub
parent 3baac14095
commit 0a822209c8

View File

@ -144,6 +144,9 @@ func init() {
if err = parseConfig(appConfigPath); err != nil {
panic(err)
}
if err = os.Chdir(AppPath); err != nil {
panic(err)
}
}
func recoverPanic(ctx *context.Context) {