about summary refs log tree commit diff stats
path: root/src/config.ts
diff options
context:
space:
mode:
authorAlan Pearce2024-04-17 20:28:04 +0200
committerAlan Pearce2024-04-17 20:53:45 +0200
commit30fed9da228ef9bab5734e000e598ff380cb55f5 (patch)
treecfc89a40a12dcc572c0a457b62bdde129690e482 /src/config.ts
parent1e05c18ed8e44078e3e102ff5bb8af6e25717fc9 (diff)
downloadwebsite-30fed9da228ef9bab5734e000e598ff380cb55f5.tar.lz
website-30fed9da228ef9bab5734e000e598ff380cb55f5.tar.zst
website-30fed9da228ef9bab5734e000e598ff380cb55f5.zip
bye bye bun
Diffstat (limited to 'src/config.ts')
-rw-r--r--src/config.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/config.ts b/src/config.ts
deleted file mode 100644
index 428d63c..0000000
--- a/src/config.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import fs from "node:fs";
-import toml from "toml";
-
-const config = toml.parse(fs.readFileSync("config.toml", "utf-8"));
-if (import.meta.env.NODE_ENV === "development") {
-  config.base_url = "http://localhost:3000";
-}
-export default config;