mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
api: allow colons (:
) in url paths
This commit is contained in:
parent
d560c0d34a
commit
8ae48fa524
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ export const services = {
|
|||
Object.values(services).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