Skip to content

Commit

Permalink
fix: remove MIDWAY_SERVER_ENV default value (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 authored Apr 3, 2021
1 parent 5afdfca commit e9f7165
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages-serverless/serverless-app/src/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ export class Framework
}

async initialize(options: Partial<IMidwayBootstrapOptions>) {
process.env.MIDWAY_SERVER_ENV = process.env.MIDWAY_SERVER_ENV || 'local';
this.bootstrapOptions = options;
this.getFaaSSpec();
this.app = express() as any;
Expand Down

0 comments on commit e9f7165

Please sign in to comment.