brandonbaker40/turbo_invoice_backend

View on GitHub
config.ru

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

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

# rubocop:disable Lint/AmbiguousRegexpLiteral
use Rack::Rewrite do
  rewrite /^(?!.*(api|\.)).*$/, '/index.html'
end
# rubocop:enable Lint/AmbiguousRegexpLiteral

require_relative 'config/environment'

run Rails.application