Skip to content

Commit f7c06b8

Browse files
fix edge route mapping for SES requests using /email route (localstack#4054)
1 parent a6f5b45 commit f7c06b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

localstack/services/edge.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ def get_api_from_headers(headers, method=None, path=None, data=None):
256256
result = 'route53', config.PORT_ROUTE53
257257
elif result[0] == 'monitoring':
258258
result = 'cloudwatch', config.PORT_CLOUDWATCH
259+
elif result[0] == 'email':
260+
result = 'ses', config.PORT_SES
259261
elif result[0] == 'execute-api' or '.execute-api.' in host:
260262
result = 'apigateway', config.PORT_APIGATEWAY
261263
elif target.startswith('Firehose_'):

0 commit comments

Comments
 (0)