Skip to content

Instantly share code, notes, and snippets.

Created March 13, 2021 05:19
What would you like to do?
Hosting Rails application to Vercel
# NOTE: Put this file into `api` directory
require_relative "../config/environment"
class Handler < Rack::Handler::WEBrick
# Override
def initialize(server, *_options)
super(server, Rails.application)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment