* finish renaming back ShareDialog
This commit is contained in:
parent
103954cb96
commit
9526be15ad
|
|
@ -111,7 +111,7 @@ include JamRuby
|
|||
config.websocket_gateway_connect_time_expire = 6000
|
||||
end
|
||||
config.websocket_gateway_internal_debug = false
|
||||
config.websocket_gateway_port = 6767
|
||||
config.websocket_gateway_port = 6767 + ENV['JAM_INSTANCE'].to_i
|
||||
# Runs the websocket gateway within the web app
|
||||
config.websocket_gateway_uri = "ws://localhost:#{config.websocket_gateway_port}/websocket"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,3 +4,14 @@ require 'rubygems'
|
|||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
||||
|
||||
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
|
||||
|
||||
require 'rails/commands/server'
|
||||
|
||||
module Rails
|
||||
class Server
|
||||
alias :default_options_alias :default_options
|
||||
def default_options
|
||||
default_options_alias.merge!(:Port => 3000 + ENV['JAM_INSTANCE'].to_i)
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Reference in New Issue