# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment',  __FILE__)

# To enable DelayedJobWeb, see the 'Enable DelayedJobWeb' section of the README.

# if Rails.env.production?
#  DelayedJobWeb.use Rack::Auth::Basic do |username, password|
#    username == 'admin' && password == 'password'
#  end
# end

run Huginn::Application