diff options
Diffstat (limited to 'benchmark/packages/timer/src/preview.ts')
-rw-r--r-- | benchmark/packages/timer/src/preview.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/packages/timer/src/preview.ts b/benchmark/packages/timer/src/preview.ts index 1208830dd..4ee43ebd0 100644 --- a/benchmark/packages/timer/src/preview.ts +++ b/benchmark/packages/timer/src/preview.ts @@ -1,5 +1,5 @@ import type { CreatePreviewServer } from 'astro'; -import { createServer } from 'http'; +import { createServer } from 'node:http'; import enableDestroy from 'server-destroy'; const preview: CreatePreviewServer = async function ({ serverEntrypoint, host, port }) { |