From 1ee1c0415966b2a2d6f27a69a89db49acdd2bdf6 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Wed, 11 Oct 2023 11:30:47 +0530 Subject: [PATCH] chore: remove dns workaround --- src/node/server.ts | 3 --- 1 file changed, 3 deletions(-) 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,