API: Improved avatar handling
This commit is contained in:
parent
a02426c08c
commit
96809b3fdd
5 changed files with 67 additions and 35 deletions
|
@ -363,9 +363,9 @@ return [
|
|||
'/permission/tooltip/{type}/{id:\d+}' => [Module\PermissionTooltip::class, [R::GET]],
|
||||
|
||||
'/photo' => [
|
||||
'/{name}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{name}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{customize}/{name}' => [Module\Photo::class, [R::GET]],
|
||||
'/{name}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{name}' => [Module\Photo::class, [R::GET]],
|
||||
'/{type}/{customsize}/{name}' => [Module\Photo::class, [R::GET]],
|
||||
],
|
||||
|
||||
'/pretheme' => [Module\ThemeDetails::class, [R::GET]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue