Commit 89d35ae9 authored by jz143's avatar jz143

define trusted proxies to get IP of LAN users

parent 5e526c24
......@@ -6,6 +6,8 @@ require 'rails/all'
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
require 'ipaddr'
module Appstore
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment