diff --git a/app/api/mobile/api.rb b/app/api/mobile/api.rb index eba39722..6031e82a 100755 --- a/app/api/mobile/api.rb +++ b/app/api/mobile/api.rb @@ -106,6 +106,7 @@ module Mobile # Rails.logger.info("########### host is #{request.host}") + Rails.logger.info("########### ip is #{request.remote_ip}") if (Rails.env.development? && session[:user_id].blank?) || (session[:user_id].blank? && request.host.include?("testbdweb")) || params[:action] == "privateGit" session[:user_id] = 12 #116 end