Mercurial > rsstweet
changeset 216:2a3c7db6007a
Remove more middlewares
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 11 Dec 2020 03:55:56 +0900 |
parents | 1c1f761f2dcc |
children | 12555a247f93 |
files | config/application.rb |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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]