This commit is contained in:
freearhey 2021-03-12 02:49:09 +03:00
parent d06fa32f9d
commit cd22e3a477
12 changed files with 414 additions and 8 deletions

View file

@ -83,6 +83,7 @@ utils.parseConfig = function (configPath) {
const userAgent = this.getElementText('user-agent', settings.elements)
const timezone = this.getElementText('timezone', settings.elements)
const cookie = this.getElementText('cookie', settings.elements)
const lang = this.getElementText('lang', settings.elements)
const channels = settings.elements
.filter(el => el.name === 'channel')
.map(el => {
@ -98,7 +99,8 @@ utils.parseConfig = function (configPath) {
userAgent,
timezone,
channels,
cookie
cookie,
lang
}
}