Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest lock #715

Merged
merged 8 commits into from
Oct 31, 2022
Merged

Rest lock #715

merged 8 commits into from
Oct 31, 2022

Conversation

shapiromatron
Copy link
Owner

@shapiromatron shapiromatron commented Oct 24, 2022

Reduce the scope of API responses in production environments, but keep the useful-bits available in development:

  • In all environments, switch routers so that the browsable API root view is no longer available (change from DefaultRouter to SimpleRouter, link)
  • In staging/production, remove the html-view of a JSON response. It is still available and enabled by default in the dev environment

@shapiromatron shapiromatron marked this pull request as ready for review October 24, 2022 22:44
@shapiromatron shapiromatron merged commit 1c0af8d into main Oct 31, 2022
@shapiromatron shapiromatron deleted the rest-lock branch October 31, 2022 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants