From ef072d972c21a0c346af0f35ee0db7ca625af809 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 2 Nov 2020 13:51:57 +0100 Subject: [PATCH] fix typo --- packages/nitro/src/nuxt-deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nitro/src/nuxt-deploy.ts b/packages/nitro/src/nuxt-deploy.ts index dd0633295f..8148e7f959 100644 --- a/packages/nitro/src/nuxt-deploy.ts +++ b/packages/nitro/src/nuxt-deploy.ts @@ -38,7 +38,7 @@ async function main () { process.chdir(config.buildDir) // Compile html template - const htmlTemplateFile = resolve(config.buildDir, `views/${{ 2: 'app', 3: 'template' }[config.nuxt]}.template.html`) + const htmlTemplateFile = resolve(config.buildDir, `views/${{ 2: 'app', 3: 'document' }[config.nuxt]}.template.html`) const htmlTemplateFileJS = htmlTemplateFile.replace(/.html$/, '.js').replace('app.', 'document.') const htmlTemplateContents = await readFile(htmlTemplateFile, 'utf-8') // eslint-disable-next-line no-template-curly-in-string