annotate config/initializers/application_controller_renderer.rb @ 243:bc2f45058c9e legit-client

Prevent caching of rate limited error and combine response handling
author nanaya <me@nanaya.net>
date Sun, 16 Jul 2023 08:53:59 +0900
parents f67f3ad50270
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
72
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
2
185
f67f3ad50270 Update to latest rails and gems
nanaya <me@nanaya.pro>
parents: 72
diff changeset
3 # ActiveSupport::Reloader.to_prepare do
f67f3ad50270 Update to latest rails and gems
nanaya <me@nanaya.pro>
parents: 72
diff changeset
4 # ApplicationController.renderer.defaults.merge!(
f67f3ad50270 Update to latest rails and gems
nanaya <me@nanaya.pro>
parents: 72
diff changeset
5 # http_host: 'example.org',
f67f3ad50270 Update to latest rails and gems
nanaya <me@nanaya.pro>
parents: 72
diff changeset
6 # https: false
f67f3ad50270 Update to latest rails and gems
nanaya <me@nanaya.pro>
parents: 72
diff changeset
7 # )
f67f3ad50270 Update to latest rails and gems
nanaya <me@nanaya.pro>
parents: 72
diff changeset
8 # end