Skip to content

Commit

Permalink
change to vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
vipzhicheng committed Mar 24, 2024
1 parent 96c01e1 commit 391e6a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 391e6a9

Please sign in to comment.