Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bind to 0.0.0.0 instead of localhost.

  • Loading branch information...
commit d1330162c773b50a13ee1090b3c7a024dab2fba4 1 parent ba0b8cc
Phil Hagelberg authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  bin/receiver
  2. +1 −1  bin/web
2  bin/receiver
View
@@ -4,5 +4,5 @@ require "puma"
require "sokoban/receiver"
s = Puma::Server.new(Sokoban::Receiver.new(ENV["REPO_GET_URL"]))
-s.add_tcp_listener("localhost", (ENV["PORT"] || 5000))
+s.add_tcp_listener("0.0.0.0", (ENV["PORT"] || 5000))
s.run.join
2  bin/web
View
@@ -4,5 +4,5 @@ require "puma"
require "sokoban"
s = Puma::Server.new(Sokoban::Proxy.new)
-s.add_tcp_listener("localhost", (ENV["PORT"] || 5000))
+s.add_tcp_listener("0.0.0.0", (ENV["PORT"] || 5000))
s.run.join
Please sign in to comment.
Something went wrong with that request. Please try again.