we actually have an instance in the block

This commit is contained in:
Konstantin Haase 2012-10-23 22:09:19 +02:00
parent a1fb0ff2be
commit 3195a75a22

View File

@ -6,8 +6,8 @@ $: << 'lib'
require 'travis/web'
use Travis::Web::Allow
use Travis::Web::ApiRedirect do |config|
config.api_endpoint = ENV['API_ENDPOINT'] if ENV['API_ENDPOINT']
use Travis::Web::ApiRedirect do |app|
app.settings.api_endpoint = ENV['API_ENDPOINT'] if ENV['API_ENDPOINT']
end
run Travis::Web::App.new(