mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Fix build
This commit is contained in:
parent
1dcc10d035
commit
1c25f00615
1 changed files with 6 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
|||
if Rails.env.production?
|
||||
Logster.store.ignore = [
|
||||
# honestly, Rails should not be logging this, its real noisy
|
||||
/^ActionController::RoutingError \(No route matches/,
|
||||
# suppress trackback spam bots
|
||||
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ })
|
||||
]
|
||||
# Logster.store.ignore = [
|
||||
# # honestly, Rails should not be logging this, its real noisy
|
||||
# /^ActionController::RoutingError \(No route matches/,
|
||||
# # suppress trackback spam bots
|
||||
# Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ })
|
||||
# ]
|
||||
|
||||
Logster.config.authorize_callback = lambda{|env|
|
||||
user = CurrentUser.lookup_from_env(env)
|
||||
|
|
Loading…
Reference in a new issue