mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-14 17:06:39 +00:00
Adjust const one more time
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user