Fix screenshot adult site list

This commit is contained in:
Dragon Fire
2020-10-29 00:50:42 -04:00
parent 0543a63530
commit 0eebc256df
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ module.exports = class ScreenshotCommand extends Command {
const { text } = await request.get('https://raw.githubusercontent.com/blocklistproject/Lists/master/porn.txt');
this.pornList = text.split('\n')
.filter(site => site && !site.startsWith('#'))
.map(site => site.replace(/^(0.0.0.0 )/, '')); // eslint-disable-line no-control-regex
.map(site => site.replace(/^(0.0.0.0 )/, '')); // eslint-disable-line no-control-regex
return this.pornList;
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "119.34.4",
"version": "119.34.5",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {