Skip to content

Commit 58108d4

Browse files
committed
chore: rename isRtaLabel to isAdultContent
1 parent e4622b9 commit 58108d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = async function (originalUrl) {
5656
title: '',
5757
description: '',
5858
siteName: '',
59-
isRtaLabel: false
59+
isAdultContent: false
6060
},
6161
vueVersion: null,
6262
hasSSR: false, // default
@@ -126,7 +126,7 @@ module.exports = async function (originalUrl) {
126126

127127
const rtaLabel = await page.$eval('head > meta[name="RATING"]', element => element.content).catch(() => '')
128128
if (rtaLabel.trim() === 'RTA-5042-1996-1400-1577-RTA') {
129-
infos.meta.isRtaLabel = true
129+
infos.meta.isAdultContent = true
130130
}
131131

132132
// Get page language

0 commit comments

Comments
 (0)