Skip to content

Commit

Permalink
removing devcloud references
Browse files Browse the repository at this point in the history
  • Loading branch information
obfuscurity committed May 30, 2012
1 parent afb57b9 commit 48e73b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion lib/backstop/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ def self.deploy; env!("DEPLOY"); end
def self.port; env!("PORT").to_i; end
def self.carbon_urls; env!("CARBON_URLS").split(","); end
def self.prefixes; env!("PREFIXES").split(","); end
def self.devcloud_url; ENV["DEVCLOUD_URL"] || nil; end
end
end
8 changes: 0 additions & 8 deletions lib/backstop/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ class Application < Sinatra::Base
@@sockets = []
end

before do
if !Config.devcloud_url.nil?
if request.url =~ /#{Config.devcloud_url}/
halt 503, "devclouds currently denied"
end
end
end

helpers do
def sockets
if !@@sockets.empty?
Expand Down

0 comments on commit 48e73b3

Please sign in to comment.