From 6509466474bd14a739879e80503b7a523a7f8903 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 28 Oct 2019 19:10:26 -0400 Subject: [PATCH] rm console log statements --- src/commands/cwg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cwg.ts b/src/commands/cwg.ts index 11547cc..f6e6c5f 100644 --- a/src/commands/cwg.ts +++ b/src/commands/cwg.ts @@ -101,7 +101,7 @@ export default class CWG extends Command { if (!await this.client.db.Account.exists({ userID: account.userID })) throw new Error(`Cannot find account ${account.userID}.`); await fs.access(x509Certificate.cert, fs.constants.R_OK); await fs.access(x509Certificate.key, fs.constants.R_OK); - let cfg = await fs.readFile('../static/nginx.conf', { encoding: 'utf8' }); + let cfg = await fs.readFile('/var/CloudServices/dist/static/nginx.conf', { encoding: 'utf8' }); cfg = cfg.replace(/\[DOMAIN]/g, domain); cfg = cfg.replace(/\[PORT]/g, String(port)); cfg = cfg.replace(/\[CERTIFICATE]/g, x509Certificate.cert);