Skip to content

Commit

Permalink
fix: nginx.conf formating
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jan 6, 2024
1 parent f5e18f1 commit 0c87d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ stream {
const domain = hostParts[0];
const tld = hostParts[1];
const stream = fs.readFileSync(conf, 'utf8');
const modifiedStream = stream.replace('default nodejs_ssl;', `\t\t${host} nginx_ssl;\ndefault nodejs_ssl;`);
const modifiedStream = stream.replace('default nodejs_ssl;', `${host} nginx_ssl;\n\t\tdefault nodejs_ssl;`);
fs.writeFileSync(conf, modifiedStream);

const server = `
Expand Down

0 comments on commit 0c87d43

Please sign in to comment.