mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Updated api platform recipe
This commit is contained in:
parent
f9cafae789
commit
aaf230fc58
2 changed files with 12 additions and 4 deletions
|
@ -16,4 +16,11 @@ api_platform:
|
|||
type: header
|
||||
|
||||
defaults:
|
||||
# TODO: Change this to true later. In the moment it is false, because we use the session in somewhere
|
||||
stateless: false
|
||||
cache_headers:
|
||||
vary: ['Content-Type', 'Authorization', 'Origin']
|
||||
extra_properties:
|
||||
standard_put: true
|
||||
|
||||
pagination_client_items_per_page: true # Allow clients to override the default items per page
|
Loading…
Add table
Add a link
Reference in a new issue