Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Commit

Permalink
Updated some values
Browse files Browse the repository at this point in the history
  • Loading branch information
civ5replays committed Apr 22, 2011
1 parent 7f4e4a9 commit 24fa9c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config.ru
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require_relative 'environment'
require File.expand_path("../environment.rb", __FILE__)
set :run, false
set :environment, :production


require_relative 'application'
require File.expand_path("../application.rb", __FILE__)
run Sinatra::Application
1 change: 1 addition & 0 deletions environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
:url_base => 'http://civ5.flexd.net/',
:db_name => 'civ5replays'
)
set :mongo_host, "192.168.30.23"
set :mongo_db, "#{SiteConfig.db_name}_production" #{Sinatra::Base.environment}
# load workers
$LOAD_PATH.unshift("#{File.dirname(__FILE__)}/workers")
Expand Down

0 comments on commit 24fa9c0

Please sign in to comment.