Skip to content

Commit

Permalink
Update CustomerController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
getpinga authored Mar 13, 2023
1 parent 2f54d66 commit ec08b6c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Controllers/CustomerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ public function index(ServerRequestInterface $request): ResponseInterface
status: 201,
headers: [
'Content-Type' => 'application/json',
'Content-Length' => $contentLength
'Content-Length' => $contentLength,
'Date' => gmdate('D, d M Y H:i:s').' GMT',
'Server' => 'Pinglet',
'Cache-Control' => 'max-age=3600',
'Access-Control-Allow-Origin' => '*'
],
body: $responseBody
);
Expand Down

0 comments on commit ec08b6c

Please sign in to comment.