feat: improve config values by extending default config

related to #113
This commit is contained in:
Mathias Schopmans
2024-03-13 14:19:53 +01:00
parent c5186353a6
commit 04053c6700
7 changed files with 146 additions and 135 deletions

View File

@@ -1,5 +1,3 @@
// @ts-check
const config = require("./data/config.json");
const basePath =
config.basePath && config.basePath !== "/" ? config.basePath : "";