Skip to content

Commit

Permalink
Merge pull request #34 from takkii/develop
Browse files Browse the repository at this point in the history
Delete.
  • Loading branch information
takkii authored Jan 2, 2025
2 parents 4efb148 + 4ad5b1d commit ec433de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def validate_ipaddress
nodejs_path = "node" + " " + "#{File.dirname(__FILE__) + '/myipad.js'}"
stdout_js, stderr_js, status_js = Open3.capture3(nodejs_path)
# When the server is running, only a few permissions are granted.
ip_win = ENV['IPADDRESS_WIN ']
ip_wsl = ENV['IPADDRESS_WSL ']
ip_win = ENV['IPADDRESS_WIN']
ip_wsl = ENV['IPADDRESS_WSL']

# Development is assumed to be in a local environment.
if "#{stdout_js}".match( /#{ip_win}/o) || {}[:match]
Expand Down

0 comments on commit ec433de

Please sign in to comment.