后台:修改服务器状态
This commit is contained in:
@@ -19,6 +19,10 @@ export default class FooBoot implements IBoot {
|
||||
await this.connectGMDB(this.app);
|
||||
await this.connectRedis(this.app);
|
||||
|
||||
this.app.config.realEnv = this.app.config.env;
|
||||
if(this.app.config.env == 'local') {
|
||||
this.app.config.realEnv = 'development';
|
||||
}
|
||||
}
|
||||
|
||||
configDidLoad() {
|
||||
|
||||
Reference in New Issue
Block a user