about summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build.ts b/bin/build.ts
index bd030a1..69cfd6c 100755
--- a/bin/build.ts
+++ b/bin/build.ts
@@ -4,7 +4,7 @@ import log from "loglevel";
 
 import generateSite from "../src/templates";
 
-log.setLevel((import.meta.env.LOG_LEVEL || "info") as log.LogLevelDesc);
+log.setLevel((import.meta.env["LOG_LEVEL"] || "info") as log.LogLevelDesc);
 
 fs.mkdirSync("public", { recursive: true });
 log.info("Generating site...");