Skip to content

Commit

Permalink
chore: remove dns workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Oct 11, 2023
1 parent 7991180 commit 1ee1c04
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/node/server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import dns from 'dns'
import { createServer as createViteServer, type ServerOptions } from 'vite'
import { resolveConfig } from './config'
import { createVitePressPlugin } from './plugin'
Expand All @@ -15,8 +14,6 @@ export async function createServer(
delete serverOptions.base
}

dns.setDefaultResultOrder('verbatim')

return createViteServer({
root: config.srcDir,
base: config.site.base,
Expand Down

0 comments on commit 1ee1c04

Please sign in to comment.