Fix regular expression in the user avatar photo routes
This commit is contained in:
parent
e8becc1538
commit
f426a5bd98
|
@ -373,10 +373,10 @@ return [
|
|||
'/photo' => [
|
||||
'/{name}' => [Module\Photo::class, [R::GET]],
|
||||
// User Id Fallback, to remove after version 2021.12
|
||||
'/{type}/{uid_ext:\d+}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{uid_ext:\d+\..*}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{nickname_ext}' => [Module\Photo::class, [R::GET]],
|
||||
// User Id Fallback, to remove after version 2021.12
|
||||
'/{type}/{customsize}/{uid_ext:\d+}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{customsize}/{uid_ext:\d+\..*}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{customsize}/{nickname_ext}' => [Module\Photo::class, [R::GET]],
|
||||
],
|
||||
|
||||
|
|
Loading…
Reference in a new issue