Skip to content

Commit 1c20bbd

Browse files
committed
properly setting default region
1 parent 98191a8 commit 1c20bbd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/proxy-factory.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ module.exports = ({ proxyType, opts, route }) => {
1313
} else if (proxyType === 'lambda') {
1414
proxy = lambdaProxy({
1515
target: opts.targetOverride || route.target,
16-
...(route.lambdaProxy || {
17-
region: 'eu-central-1'
18-
})
16+
region: 'eu-central-1',
17+
...(route.lambdaProxy || {})
1918
})
2019
}
2120

0 commit comments

Comments
 (0)