Skip to content

Commit

Permalink
fix: forgot to load config
Browse files Browse the repository at this point in the history
  • Loading branch information
HorizonCode committed Mar 7, 2024
1 parent 9a6c310 commit 89f60ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ const printInfo = () => {
if (!(await runSetupWizard(config))) return;
}

await config.load();

const host = config.get("quest_ip") as string ?? "";
const port = "53502";
const port = config.get("st_port") as string ?? "53502";

if (host.length <= 0) {
console.log(
Expand Down

0 comments on commit 89f60ad

Please sign in to comment.