fix: add missing scriptJs and scriptCss to single page resolver (#5689)

This commit is contained in:
Rodrigo Ribeiro Gomes 2022-10-17 18:11:59 -03:00 committed by GitHub
parent cf7abeaa94
commit db0255cb7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,9 @@ module.exports = {
return {
...page,
locale: page.localeCode,
editor: page.editorKey
editor: page.editorKey,
scriptJs: page.extra.js,
scriptCss: page.extra.css
}
} else {
throw new WIKI.Error.PageViewForbidden()