continue uniformizing + ditch lodash for native JS methods.

This commit is contained in:
theofficialomega
2025-07-16 12:37:34 +02:00
parent 2f5d209f5f
commit d8e4372f22
13 changed files with 67 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
import { SiteConfig } from 'epg-grabber'
import _ from 'lodash'
import { deepMerge } from '../functions/functions'
import { pathToFileURL } from 'url'
export class ConfigLoader {
@@ -28,6 +28,6 @@ export class ConfigLoader {
channels: undefined
}
return _.merge(defaultConfig, config)
return deepMerge(defaultConfig, config) as SiteConfig
}
}