diff --git a/src/core/server.ts b/src/core/server.ts index 0ebe0d28a..b58f3ba41 100644 --- a/src/core/server.ts +++ b/src/core/server.ts @@ -39,7 +39,7 @@ export async function startServer(options: StartServerOptions = {}) { for (let i = 0; i < 150; i++) { await new Promise(resolve => setTimeout(resolve, 100)) try { - const res = await $fetch(ctx.nuxt!.options.app.baseURL) + const res = await $fetch(ctx.nuxt!.options.app.baseURL, { responseType: 'text' }) if (!res.includes('__NUXT_LOADING__')) { return }