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

pull/5713/merge
Rodrigo Ribeiro Gomes 2 years ago committed by GitHub
parent cf7abeaa94
commit db0255cb7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()

Loading…
Cancel
Save