Skip to content

Commit

Permalink
Changing variable name internally
Browse files Browse the repository at this point in the history
  • Loading branch information
msnider committed Jan 31, 2020
1 parent d04d976 commit ccaa0d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next/export/index.ts
Expand Up @@ -232,7 +232,7 @@ export default async function(
hotReloader: null,
canonicalBase: nextConfig.amp?.canonicalBase || '',
isModern: nextConfig.experimental.modern,
ampValidator: nextConfig.experimental.amp?.validator || undefined,
ampValidatorPath: nextConfig.experimental.amp?.validator || undefined,
}

const { serverRuntimeConfig, publicRuntimeConfig } = nextConfig
Expand Down
2 changes: 1 addition & 1 deletion packages/next/export/worker.js
Expand Up @@ -214,7 +214,7 @@ export default async function({
}

if (curRenderOpts.inAmpMode) {
await validateAmp(html, path, curRenderOpts.ampValidator)
await validateAmp(html, path, curRenderOpts.ampValidatorPath)
} else if (curRenderOpts.hybridAmp) {
// we need to render the AMP version
let ampHtmlFilename = `${ampPath}${sep}index.html`
Expand Down

0 comments on commit ccaa0d0

Please sign in to comment.