We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
startServer
1 parent b21d9a5 commit 1b18250Copy full SHA for 1b18250
src/core/server.ts
@@ -39,7 +39,7 @@ export async function startServer(options: StartServerOptions = {}) {
39
for (let i = 0; i < 150; i++) {
40
await new Promise(resolve => setTimeout(resolve, 100))
41
try {
42
- const res = await $fetch(ctx.nuxt!.options.app.baseURL)
+ const res = await $fetch<string>(ctx.nuxt!.options.app.baseURL, { responseType: 'text' })
43
if (!res.includes('__NUXT_LOADING__')) {
44
return
45
}
0 commit comments