mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-17 22:00:00 +00:00
config: add "@" to allowed pattern symbols
needed for tiktok urls
This commit is contained in:
parent
ba35ec923e
commit
0244c40d0b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue