mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-06 08:44:31 +02:00
config: add "@" to allowed pattern symbols
needed for tiktok urls
This commit is contained in:
parent
ba35ec923e
commit
0244c40d0b
@ -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 + '@\\.'
|
||||
})
|
||||
)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user