diff --git a/config.ru b/config.ru index f4a6bc9..9dc7288 100644 --- a/config.ru +++ b/config.ru @@ -12,4 +12,6 @@ require 'puma' require './lib/slack_bot_app' require_relative 'config/initializers/active_record_established' +use Rack::RewindableInput::Middleware + run Rack::URLMap.new('/' => SlackRubyBotServer::Api::Middleware.instance, '/github' => Server)