ante-erp-cli 1.11.39 ā 1.11.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -766,11 +766,12 @@ export async function setDomain(options) {
|
|
|
766
766
|
|
|
767
767
|
if (isHttps && isDomainName && needsNginx) {
|
|
768
768
|
// SSL setup workflow
|
|
769
|
-
|
|
769
|
+
// Note: --ssl flag maps to options.enableSsl due to Commander.js option syntax
|
|
770
|
+
let enableSsl = options.ssl || options.enableSsl || false;
|
|
770
771
|
let sslEmail = options.email || '';
|
|
771
772
|
|
|
772
773
|
// If not specified via flags, ask in interactive mode
|
|
773
|
-
if (options.interactive !== false && !options.ssl) {
|
|
774
|
+
if (options.interactive !== false && !options.ssl && !options.enableSsl) {
|
|
774
775
|
console.log(chalk.cyan('\nš SSL/HTTPS Configuration\n'));
|
|
775
776
|
console.log(chalk.gray('You\'re using HTTPS URLs. Would you like to obtain SSL certificates now?\n'));
|
|
776
777
|
console.log(chalk.gray('This will:'));
|