@lamalibre/create-portlama 1.0.39 → 1.0.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 +1 -1
- package/src/lib/summary.js +1 -5
- package/vendor/panel-client/dist/assets/{index-BU662GVt.js → index-xz3HfhXl.js} +88 -88
- package/vendor/panel-client/dist/index.html +1 -1
- package/vendor/panel-server/package.json +1 -0
- package/vendor/panel-server/src/cli/reset-admin.js +1 -1
- package/vendor/panel-server/src/index.js +10 -1
- package/vendor/panel-server/src/lib/nginx.js +3 -3
package/package.json
CHANGED
package/src/lib/summary.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { readFile } from 'node:fs/promises';
|
|
2
1
|
import chalk from 'chalk';
|
|
3
2
|
|
|
4
3
|
// eslint-disable-next-line no-control-regex
|
|
@@ -78,9 +77,6 @@ export async function printSummary(ctx) {
|
|
|
78
77
|
}
|
|
79
78
|
|
|
80
79
|
// Full install mode: complete summary with certificate instructions
|
|
81
|
-
const p12PasswordFile = `${ctx.pkiDir}/.p12-password`;
|
|
82
|
-
const p12Password = (await readFile(p12PasswordFile, 'utf8')).trim();
|
|
83
|
-
|
|
84
80
|
const scpCmd = `scp root@${ip}:${ctx.pkiDir}/client.p12 .`;
|
|
85
81
|
|
|
86
82
|
const lines = [
|
|
@@ -108,7 +104,7 @@ export async function printSummary(ctx) {
|
|
|
108
104
|
'',
|
|
109
105
|
` ${chalk.white.bold('3.')} ${chalk.white('Certificate password:')}`,
|
|
110
106
|
'',
|
|
111
|
-
` ${chalk.yellow.bold(
|
|
107
|
+
` ${chalk.yellow.bold(`cat ${ctx.pkiDir}/.p12-password`)}`,
|
|
112
108
|
'',
|
|
113
109
|
` ${chalk.white.bold('4.')} ${chalk.white('Open the Portlama panel:')}`,
|
|
114
110
|
'',
|