We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2ec010 commit 63f7c57Copy full SHA for 63f7c57
packages/server/src/cli.ts
@@ -132,7 +132,14 @@ export class Entry extends Command {
132
}
133
});
134
135
- const password = "023450wf0951";
+ const passwordLength = 12;
136
+ const possible = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
137
+ const chars = [];
138
+ for (let i = 0; i < passwordLength; i++) {
139
+ chars.push(possible[Math.floor(Math.random() * possible.length)]);
140
+ }
141
+ const password = chars.join("");
142
+
143
const hasCustomHttps = certData && certKeyData;
144
const app = await createApp({
145
allowHttp: flags["allow-http"],
0 commit comments