lib/pairing_matrix/server/server.rb in pairing_matrix-0.1 vs lib/pairing_matrix/server/server.rb in pairing_matrix-0.1.1
- old
+ new
@@ -2,9 +2,11 @@
require 'json'
require_relative '../../pairing_matrix'
module PairingMatrix
class Server < Sinatra::Base
+ set :bind, '0.0.0.0'
+
config_reader = PairingMatrix::ConfigReader.new('pairing_matrix.yml')
config = config_reader.config
commit_reader = PairingMatrix::CommitReader.new(config)
get '/data/:days' do
\ No newline at end of file