mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 20:27:30 +02:00
Fix some CC issues
This commit is contained in:
parent
16d8b81685
commit
db4f57308b
2 changed files with 5 additions and 2 deletions
|
@ -104,6 +104,7 @@ module Repp
|
|||
|
||||
def webclient_request?
|
||||
return if Rails.env.test?
|
||||
|
||||
ENV['webclient_ips'].split(',').map(&:strip).include?(request.ip)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue