Skip to content

Commit

Permalink
fix: ensure that server names are unique
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Oct 22, 2020
1 parent bc4fc2e commit 75dba0e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
DOMAIN_NAMES_PRODUCTION = DOMAIN_NAMES_PRODUCTION.split(/\s/)
.map(domainName => [domainName, `www.${domainName}`])
.flat();
DOMAIN_NAMES_DEVELOPMENT = DOMAIN_NAMES_DEVELOPMENT.split(/\s/)
.map(domainName => [domainName, `www.${domainName}`])
.flat();
DOMAIN_NAMES_DEVELOPMENT = DOMAIN_NAMES_DEVELOPMENT.split(/\s/);

const DOMAIN_CONFIGURATIONS = [
...DOMAIN_NAMES_PRODUCTION.map(domainName => ({domainName, host: INTERNAL_HOST_PRODUCTION, port: INTERNAL_PORT_PRODUCTION})),
Expand Down

0 comments on commit 75dba0e

Please sign in to comment.