From 24f3f32c3b9d92927c219d94fa2e4193d0f61dc8 Mon Sep 17 00:00:00 2001 From: Soitora Date: Tue, 8 Aug 2023 21:10:59 +0200 Subject: [PATCH] Lint index config --- website/src/.vitepress/config/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/src/.vitepress/config/index.ts b/website/src/.vitepress/config/index.ts index c381aa73..dc3265c2 100644 --- a/website/src/.vitepress/config/index.ts +++ b/website/src/.vitepress/config/index.ts @@ -12,10 +12,10 @@ import generateFeed from "./hooks/generateFeed"; export default ({ mode }) => { process.env = { ...process.env, ...loadEnv(mode, process.cwd()) }; - const baseUrl = process.env.VITE_HOSTNAME || "https://kodo.moe" - const basePath = process.env.VITE_BASE || "/" + const baseUrl = process.env.VITE_HOSTNAME || "https://kodo.moe"; + const basePath = process.env.VITE_BASE || "/"; - const hostname: string = baseUrl + basePath.replace(/\/$/, "") + const hostname: string = baseUrl + basePath.replace(/\/$/, ""); return defineConfig({ appearance: "dark",