Skip to content

Commit

Permalink
chore: 자잘한 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyongp committed Apr 21, 2024
1 parent 16cd044 commit 429bc00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ provider:
binaryMediaTypes:
- '*/*'
websocketsApiName: ${self:provider.stage}-${self:service}-ws
websocketsApiRouteSelectionExpression: $request.body.event
environment:
SERVERLESS: true

Expand Down
4 changes: 1 addition & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,5 @@ function configureWebSocketEvent(event: APIGatewayEvent) {

export const handler: Handler = async (event, context, callback) => {
configureWebSocketEvent(event);
const response = await (await bootstrap)(event, context, callback);
console.log('Response:', response);
return response;
return (await bootstrap)(event, context, callback);
};

0 comments on commit 429bc00

Please sign in to comment.