Skip to content

Instantly share code, notes, and snippets.

@takeru
Created January 15, 2010 06:41
Show Gist options
  • Save takeru/277862 to your computer and use it in GitHub Desktop.
Save takeru/277862 to your computer and use it in GitHub Desktop.
==============================================
(NG)
map '/sys/makesynccall' do
use AppEngine::Rack::AdminRequired
run JavaServlet.new('appengine.servlet.MakeSyncCallServlet')
end
use Rails::Rack::Static
run ActionController::Dispatcher.new
============================================
(OK)
map '/sys/makesynccall' do
use AppEngine::Rack::AdminRequired
run JavaServlet.new('appengine.servlet.MakeSyncCallServlet')
end
map '/' do
use Rails::Rack::Static
run ActionController::Dispatcher.new
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment