Skip to content

Commit

Permalink
Make port configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
rchatley committed Sep 16, 2022
1 parent 9940280 commit bcd9229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extreme_startup/web_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module ExtremeStartup

class WebServer < Sinatra::Base

set :port, 3000
set :port, ENV['PORT'] || 3000
set :static, true
set :public, 'public'
set :players, Hash.new
Expand Down

0 comments on commit bcd9229

Please sign in to comment.