Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (13 sloc) 0.47 kb
e638224 @shalott RAILS 3 upgrade in progress: DO NOT UPDATE to here unless you are workin...
shalott authored
1 # This file is used by Rack-based servers to start the application.
2
3 require ::File.expand_path('../config/environment', __FILE__)
47812c3 @ambtus using resque_mailer to background all email
ambtus authored
4 require 'resque/server'
5
6 # Set the AUTH env variable to your basic auth password to protect Resque.
7 AUTH_PASSWORD = ENV['AUTH']
8 if AUTH_PASSWORD
9 Resque::Server.use Rack::Auth::Basic do |username, password|
10 password == AUTH_PASSWORD
11 end
12 end
13
14 run Rack::URLMap.new \
15 "/" => Otwarchive::Application,
16 "/resque" => Resque::Server
Something went wrong with that request. Please try again.