config: add "@" to allowed pattern symbols

needed for tiktok urls
This commit is contained in:
dumbmoron 2023-12-14 23:23:21 +00:00
parent ba35ec923e
commit 0244c40d0b
No known key found for this signature in database
GPG key ID: C59997C76C6A8E5F

View file

@ -7,7 +7,7 @@ const servicesConfigJson = loadJSON("./src/modules/processing/servicesConfig.jso
Object.values(servicesConfigJson.config).forEach(service => {
service.patterns = service.patterns.map(
pattern => new UrlPattern(pattern, {
segmentValueCharset: UrlPattern.defaultOptions.segmentValueCharset + '\\.'
segmentValueCharset: UrlPattern.defaultOptions.segmentValueCharset + '@\\.'
})
)
})