make stream salt change on every server start
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { randomBytes } from "crypto";
|
||||
import { existsSync, unlinkSync, appendFileSync } from "fs";
|
||||
import { createInterface } from "readline";
|
||||
import { Cyan, Bright, Green } from "./sub/consoleText.js";
|
||||
@@ -6,7 +5,7 @@ import { execSync } from "child_process";
|
||||
|
||||
let envPath = './.env';
|
||||
let q = `${Cyan('?')} \x1b[1m`;
|
||||
let ob = { streamSalt: randomBytes(64).toString('hex') }
|
||||
let ob = {}
|
||||
let rl = createInterface({ input: process.stdin, output: process.stdout });
|
||||
|
||||
let final = () => {
|
||||
|
||||
Reference in New Issue
Block a user