Skip to content

Commit cddcb87

Browse files
committed
Merge remote-tracking branch 'node-aws-lambda-sapling/master'
2 parents b973258 + 10c612f commit cddcb87

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

serverless.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ custom:
3131

3232
domainName: ${self:custom.domainNameStage.${self:custom.stage}}
3333
domainNameStage:
34-
dev: dev-api.${self:custom.baseDomainName}
34+
dev: 'localhost:${self:custom.serverless-offline.httpPort}'
3535
test: test-api.${self:custom.baseDomainName}
3636
prod: api.${self:custom.baseDomainName}
3737
baseDomainName: CHANGEME
@@ -41,6 +41,12 @@ custom:
4141
basePath: CHANGEME
4242
stage: ${self:custom.stage}
4343
createRoute53Record: true
44+
45+
serverless-offline:
46+
httpPort: '3000'
47+
websocketPort: '3001'
48+
lambdaPort: '3002'
49+
4450
environment:
4551
debugLog: ${self:custom.environment.debugLogStage.${self:custom.stage}}
4652
debugLogStage:

0 commit comments

Comments
 (0)