Skip to content

Commit

Permalink
Code-style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekkolodziej committed Oct 12, 2020
1 parent 5cc92d1 commit ac3af0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/next/export/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ export default async function exportPage({
if (serverless) {
req.url += (req.url!.includes('?') ? '&' : '?') + 'amp=1'
// @ts-ignore
ampHtml = (await renderMethod(req, res, 'export', undefined, params)).html
ampHtml = (await renderMethod(req, res, 'export', undefined, params))
.html
} else {
ampHtml = await renderMethod(
req,
Expand Down

0 comments on commit ac3af0c

Please sign in to comment.