Skip to content

Commit

Permalink
Update Cache-Control parameters to no-store (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
phdhiren authored May 25, 2022
1 parent 4b899bc commit 88a834a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function teamAppKeys($team, $app): JsonResponse {
$payload = $this->getAppKeys($app_storage->load($app_id));
}
}
return new JsonResponse($payload);
return new JsonResponse($payload, 200, ['Cache-Control' => 'must-understand, no-store']);
}

}
2 changes: 1 addition & 1 deletion src/Controller/DeveloperAppKeysController.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function developerAppKeys($user, $app): JsonResponse {
}
}
}
return new JsonResponse($payload);
return new JsonResponse($payload, 200, ['Cache-Control' => 'must-understand, no-store']);
}

/**
Expand Down

0 comments on commit 88a834a

Please sign in to comment.