From 391e6a938a5c9d7c07647d0d095b0d721a166e53 Mon Sep 17 00:00:00 2001 From: Richard Yu Date: Sun, 24 Mar 2024 23:05:27 +0800 Subject: [PATCH] change to vitepress --- .vitepress/config.mts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index dfdc033d..81b75288 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -1,7 +1,8 @@ import { defineConfig } from 'vitepress' import { createRequire } from 'node:module' -const host = process.env.NODE_ENV === 'development' ? 'localhost:5173' : '/' +const host = + process.env.NODE_ENV === 'development' ? 'localhost:5173' : 'semo.js.org' const require = createRequire(import.meta.url)