total-recall-brain 3.12.0 → 3.12.1
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 +1 -1
- package/src/cli/init.mjs +4 -4
package/package.json
CHANGED
package/src/cli/init.mjs
CHANGED
|
@@ -477,18 +477,18 @@ export default async function init(args) {
|
|
|
477
477
|
if (domain) {
|
|
478
478
|
current['cfg-domain'] = domain;
|
|
479
479
|
current['cfg-api-url'] = `https://${domain}`;
|
|
480
|
-
current['cfg-dash-url'] = `https://${domain}
|
|
480
|
+
current['cfg-dash-url'] = `https://${domain}/`;
|
|
481
481
|
current['cfg-health-url'] = `https://${domain}/health`;
|
|
482
482
|
}
|
|
483
483
|
} else if (deployMode === 'custom-domain') {
|
|
484
484
|
current['cfg-domain'] = domain;
|
|
485
485
|
current['cfg-api-url'] = `https://${domain}`;
|
|
486
|
-
current['cfg-dash-url'] = `https://${domain}
|
|
486
|
+
current['cfg-dash-url'] = `https://${domain}/`;
|
|
487
487
|
current['cfg-health-url'] = `https://${domain}/health`;
|
|
488
488
|
} else if (deployMode === 'local') {
|
|
489
489
|
current['cfg-domain'] = 'localhost';
|
|
490
490
|
current['cfg-api-url'] = 'http://localhost:3000';
|
|
491
|
-
current['cfg-dash-url'] = 'http://localhost:3000/
|
|
491
|
+
current['cfg-dash-url'] = 'http://localhost:3000/';
|
|
492
492
|
current['cfg-health-url'] = 'http://localhost:3000/health';
|
|
493
493
|
}
|
|
494
494
|
|
|
@@ -704,7 +704,7 @@ export default async function init(args) {
|
|
|
704
704
|
}
|
|
705
705
|
current['cfg-domain'] = tunnelUrl.replace('https://', '');
|
|
706
706
|
current['cfg-api-url'] = tunnelUrl;
|
|
707
|
-
current['cfg-dash-url'] = `${tunnelUrl}
|
|
707
|
+
current['cfg-dash-url'] = `${tunnelUrl}/`;
|
|
708
708
|
current['cfg-health-url'] = `${tunnelUrl}/health`;
|
|
709
709
|
|
|
710
710
|
fs.writeFileSync(configFile, JSON.stringify(current, null, 2), { encoding: 'utf8', mode: 0o600 });
|