mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
ignore routing errors on multisite
This commit is contained in:
parent
19e5304813
commit
c96a057395
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,10 @@ if Rails.env.production?
|
|||
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { params: { url: /./, title: /./, excerpt: /./, blog_name: /./} }),
|
||||
|
||||
# API calls, TODO fix this in rails
|
||||
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /api_key/ })
|
||||
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /api_key/ }),
|
||||
|
||||
# no route, can happen in multisite for some reason, ignore
|
||||
Logster::IgnorePattern.new(/^ActionController::RoutingError \(No route matches/)
|
||||
]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue