Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rddimon committed Jul 24, 2023
1 parent b10661a commit e5d7ad3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ class ServerlessCustomDomain {
hostedZoneIdOutputKey += "Websocket";
}

// for the CloudFormation stack we should use the `base` stage not the plugin custom stage
// Remove all special characters
const safeStage = Globals.getBaseStage().replace(/[^a-zA-Z\d]/g, "");
service.provider.compiledCloudFormationTemplate.Outputs[domainNameOutputKey] = {
Expand Down

0 comments on commit e5d7ad3

Please sign in to comment.