diff --git a/src/node/server.ts b/src/node/server.ts index 42ebbc9c..4105edfe 100644 --- a/src/node/server.ts +++ b/src/node/server.ts @@ -1,4 +1,3 @@ -import dns from 'dns' import { createServer as createViteServer, type ServerOptions } from 'vite' import { resolveConfig } from './config' import { createVitePressPlugin } from './plugin' @@ -15,8 +14,6 @@ export async function createServer( delete serverOptions.base } - dns.setDefaultResultOrder('verbatim') - return createViteServer({ root: config.srcDir, base: config.site.base,