Mercurial > rsstweet
diff config/application.rb @ 216:2a3c7db6007a
Remove more middlewares
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 11 Dec 2020 03:55:56 +0900 |
parents | 1c1f761f2dcc |
children | ad6264cca788 |
line wrap: on
line diff
--- a/config/application.rb Fri Dec 11 03:52:35 2020 +0900 +++ b/config/application.rb Fri Dec 11 03:55:56 2020 +0900 @@ -36,6 +36,10 @@ config.middleware.delete ActionDispatch::HostAuthorization config.middleware.delete ActionDispatch::Cookies + config.middleware.delete ActionDispatch::ContentSecurityPolicy::Middleware + config.middleware.delete ActionDispatch::PermissionsPolicy::Middleware + config.middleware.delete ActionDispatch::RemoteIp + config.session_store :disabled if $cfg[:redis_server]