Skip to content

Commit b88cd38

Browse files
committed
Fix creating new env file bug
1 parent 4b08cbf commit b88cd38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function readEnvironmentFile(firstRun) {
2020
} catch {
2121
if (firstRun) toConsole("info", ".env file not found! Creating a new one...");
2222
environmentFile = fs.readFileSync("config/example.env", { encoding: "utf8", flag: "r" });
23-
fs.writeFileSync("../config/.env", environmentFile);
23+
fs.writeFileSync("config/.env", environmentFile);
2424
}
2525
return environmentFile;
2626
}

0 commit comments

Comments
 (0)