chore: remove dns workaround

pull/3065/head
Divyansh Singh 1 year ago
parent 7991180080
commit 1ee1c04159

@ -1,4 +1,3 @@
import dns from 'dns'
import { createServer as createViteServer, type ServerOptions } from 'vite' import { createServer as createViteServer, type ServerOptions } from 'vite'
import { resolveConfig } from './config' import { resolveConfig } from './config'
import { createVitePressPlugin } from './plugin' import { createVitePressPlugin } from './plugin'
@ -15,8 +14,6 @@ export async function createServer(
delete serverOptions.base delete serverOptions.base
} }
dns.setDefaultResultOrder('verbatim')
return createViteServer({ return createViteServer({
root: config.srcDir, root: config.srcDir,
base: config.site.base, base: config.site.base,

Loading…
Cancel
Save