Created
June 2, 2011 07:08
-
-
Save knwang/1004049 to your computer and use it in GitHub Desktop.
Rack config for faye-snake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'faye' | |
require File.dirname(__FILE__) + '/main' | |
Sinatra::Base.set(:run, false) | |
Sinatra::Base.set(:env, ENV['RACK_ENV']) | |
use Faye::RackAdapter, :mount => '/faye', :timeout => 45 | |
run Sinatra::Application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment