mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 12:32:30 +01:00
Move middleware to api file
This commit is contained in:
parent
4b6fa38af9
commit
235a9e0c27
@ -1,5 +1,4 @@
|
||||
require './config/environment'
|
||||
require 'api'
|
||||
|
||||
use Honeybadger::Rack
|
||||
run Sinatra::Application
|
||||
|
@ -7,6 +7,8 @@ set :root, File.expand_path('..', File.dirname(__FILE__))
|
||||
|
||||
configure :production do
|
||||
require 'newrelic_rpm'
|
||||
|
||||
use Honeybadger::Rack
|
||||
end
|
||||
|
||||
helpers do
|
||||
|
Loading…
Reference in New Issue
Block a user