Skip to content

Commit

Permalink
fix: serverless.yml custom domain name base path
Browse files Browse the repository at this point in the history
  • Loading branch information
aizatto committed Apr 20, 2019
1 parent 4d203a8 commit 5e4c7ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ provider:
- dynamodb:Query
- dynamodb:GetItem
- dynamodb:PutItem
- dynamodb:UpdateItem
Resource:
- { "Fn::GetAtt": ["urlsTable", "Arn" ] }
- "Fn::Join":
Expand Down Expand Up @@ -130,9 +131,9 @@ custom:
sources: [./seed/counters.json]
customDomain:
domainName: ${self:provider.environment.DOMAIN_NAME}
basePath: ${file(./secrets.json):${opt:stage}.BASE_PATH, 'false'}
basePath: ${file(./secrets.json):${opt:stage}.BASE_PATH, ''}
stage: ${opt:stage}
createRoute53Record: true
enabled: ${file(./secrets.json):${opt:stage}.enabled, 'false'}
enabled: ${file(./secrets.json):${opt:stage}.enabled, false}
output:
file: build/stack.yml

0 comments on commit 5e4c7ec

Please sign in to comment.