Skip to content

Commit

Permalink
chore: update memory size and replace region
Browse files Browse the repository at this point in the history
  • Loading branch information
webhacking committed May 21, 2020
1 parent 1047470 commit eb741a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { join } from 'path';

// Express server
export const app = express();
const PORT = process.env.PORT || 4000;


app.use(compression());
app.use(cors());
Expand Down
3 changes: 2 additions & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ plugins:
provider:
name: aws
runtime: nodejs12.x
memorySize: 192
memorySize: 512
timeout: 10
region: ap-northeast-2
stage: ${opt:stage, 'dev'}

package:
Expand Down

0 comments on commit eb741a6

Please sign in to comment.