Skip to content

Commit

Permalink
Merge pull request #12 from wingleung/add-LambdaURL-to-AWSProxy
Browse files Browse the repository at this point in the history
add AWSProxy.FunctionURL
  • Loading branch information
wingleung authored Apr 20, 2024
2 parents 87751ee + 144069e commit 034ecca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ By default the `awsProxy` is set to `AWSProxy.APIGatewayV2`.
- `AWSProxy.APIGatewayV1`
- `AWSProxy.APIGatewayV2`
- `AWSProxy.ALB`
- `AWSProxy.FunctionURL`

## Notes

Expand Down
1 change: 1 addition & 0 deletions src/adapters/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const createRemixAdapter = (awsProxy: AWSProxy): ApiGatewayV1Adapter | ApiGatewa
case AWSProxy.APIGatewayV1:
return apiGatewayV1Adapter
case AWSProxy.APIGatewayV2:
case AWSProxy.FunctionURL:
return apiGatewayV2Adapter
case AWSProxy.ALB:
return applicationLoadBalancerAdapter
Expand Down
3 changes: 2 additions & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import { createRemixAdapter } from './adapters'
export enum AWSProxy {
APIGatewayV1 = 'APIGatewayV1',
APIGatewayV2 = 'APIGatewayV2',
ALB = 'ALB'
ALB = 'ALB',
FunctionURL = 'FunctionURL'
}

/**
Expand Down

0 comments on commit 034ecca

Please sign in to comment.