diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/upd8.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upd8.js b/src/upd8.js index f60c57a9..63d36b0a 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2186,8 +2186,8 @@ async function main() { const to = writePage.to({baseDirectory, pageSubKey: fromPath[0], paths: fromPaths}); const target = to('localized.' + toPath[0], ...toPath.slice(1)); - const content = generateRedirectPage(title, target, {language}); - return writePage.write(content, {paths: fromPaths}); + const html = generateRedirectPage(title, target, {language}); + return writePage.write({html, paths: fromPaths}); }) ], queueSize)); }; |