Integrate new path-to-regexp with trailing optionals (#2644)
Fix #2497 Ref pillarjs/path-to-regexp#176
This commit is contained in:
@@ -191,8 +191,7 @@ module.exports = class Matrix extends BaseJsonService {
|
||||
static get route() {
|
||||
return {
|
||||
base: 'matrix',
|
||||
format: '([^/]+)',
|
||||
capture: ['roomAlias'],
|
||||
pattern: ':roomAlias',
|
||||
queryParams: ['server_fqdn'],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user