Adjust const one more time

This commit is contained in:
Owen
2025-08-23 15:36:19 -07:00
parent 8bcb2b3b0f
commit 5d34bd82c0
13 changed files with 13 additions and 26 deletions

View File

@@ -177,8 +177,7 @@ export default async function migration() {
}
const fileContents = fs.readFileSync(filePath, "utf8");
const rawConfig: any;
rawConfig = yaml.load(fileContents);
const rawConfig = yaml.load(fileContents) as any;
if (!rawConfig.server.secret) {
rawConfig.server.secret = generateIdFromEntropySize(32);