ante-erp-cli 1.11.56 → 1.11.57

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ante-erp-cli",
3
- "version": "1.11.56",
3
+ "version": "1.11.57",
4
4
  "description": "Comprehensive CLI tool for managing ANTE ERP self-hosted installations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -856,10 +856,12 @@ export async function setDomain(options) {
856
856
 
857
857
  // Execute SSL setup if enabled
858
858
  if (enableSsl) {
859
+ // Use default email if not provided
859
860
  if (!sslEmail) {
860
- console.log(chalk.yellow('\n⚠ SSL setup skipped: Email address required'));
861
- console.log(chalk.gray(' Run "ante ssl enable --email your@email.com" to enable SSL later\n'));
862
- } else {
861
+ sslEmail = 'geeritsolutions@gmail.com';
862
+ console.log(chalk.gray(`Using default email for SSL: ${sslEmail}\n`));
863
+ }
864
+ {
863
865
  try {
864
866
  console.log(chalk.bold('\nšŸ”’ Setting up SSL/HTTPS...\n'));
865
867
 
package/src/utils/ssl.js CHANGED
@@ -147,13 +147,15 @@ export async function updateNginxForSSL(config) {
147
147
  facialAppDomain,
148
148
  posAppDomain,
149
149
  clientAppDomain,
150
+ backendClientDomain,
150
151
  frontendPort = 8080,
151
152
  apiPort = 3001,
152
153
  gateAppPort = 8081,
153
154
  guardianAppPort = 8082,
154
155
  facialWebPort = 8083,
155
156
  posAppPort = 8084,
156
- clientAppPort = 9005
157
+ clientAppPort = 9005,
158
+ backendClientPort = 4001
157
159
  } = config;
158
160
  const spinner = ora('Updating NGINX configuration for HTTPS...').start();
159
161
 
@@ -181,6 +183,7 @@ export async function updateNginxForSSL(config) {
181
183
  facialAppDomain,
182
184
  posAppDomain,
183
185
  clientAppDomain,
186
+ backendClientDomain,
184
187
  frontendPort,
185
188
  apiPort,
186
189
  gateAppPort,
@@ -188,6 +191,7 @@ export async function updateNginxForSSL(config) {
188
191
  facialWebPort,
189
192
  posAppPort,
190
193
  clientAppPort,
194
+ backendClientPort,
191
195
  ssl: true
192
196
  });
193
197