diff options
Diffstat (limited to 'vhosts/blog/nuldoc-src/main.ts')
| -rw-r--r-- | vhosts/blog/nuldoc-src/main.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vhosts/blog/nuldoc-src/main.ts b/vhosts/blog/nuldoc-src/main.ts index 8598d80c..af6acc2e 100644 --- a/vhosts/blog/nuldoc-src/main.ts +++ b/vhosts/blog/nuldoc-src/main.ts @@ -1,7 +1,9 @@ import { runBuildCommand } from "./commands/build.ts"; import { runNewCommand } from "./commands/new.ts"; import { runServeCommand } from "./commands/serve.ts"; -import { config } from "./config.ts"; +import { getDefaultConfigPath, loadConfig } from "./config.ts"; + +const config = await loadConfig(getDefaultConfigPath()); if (import.meta.main) { const command = Deno.args[0] ?? "build"; |
