Skip to content

Commit 034ecca

Browse files
authored
Merge pull request #12 from wingleung/add-LambdaURL-to-AWSProxy
add AWSProxy.FunctionURL
2 parents 87751ee + 144069e commit 034ecca

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ By default the `awsProxy` is set to `AWSProxy.APIGatewayV2`.
5252
- `AWSProxy.APIGatewayV1`
5353
- `AWSProxy.APIGatewayV2`
5454
- `AWSProxy.ALB`
55+
- `AWSProxy.FunctionURL`
5556

5657
## Notes
5758

src/adapters/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const createRemixAdapter = (awsProxy: AWSProxy): ApiGatewayV1Adapter | ApiGatewa
2626
case AWSProxy.APIGatewayV1:
2727
return apiGatewayV1Adapter
2828
case AWSProxy.APIGatewayV2:
29+
case AWSProxy.FunctionURL:
2930
return apiGatewayV2Adapter
3031
case AWSProxy.ALB:
3132
return applicationLoadBalancerAdapter

src/server.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ import { createRemixAdapter } from './adapters'
2020
export enum AWSProxy {
2121
APIGatewayV1 = 'APIGatewayV1',
2222
APIGatewayV2 = 'APIGatewayV2',
23-
ALB = 'ALB'
23+
ALB = 'ALB',
24+
FunctionURL = 'FunctionURL'
2425
}
2526

2627
/**

0 commit comments

Comments
 (0)