mirror of
https://github.com/astaxie/beego.git
synced 2025-07-23 04:15:31 +00:00
Fix :supervisor work dir
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user