aboutsummaryrefslogtreecommitdiff
path: root/web/config.ru
blob: b3ff0f92b9f072d6718f26df6f9814bbb691bf2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
#  For use with Phusion Passenger
#

require 'sinatra'
require './taginfo.rb'
 
set :run, false
set :environment, :production

log = File.new("/osm/taginfo/log/taginfo.log", "a+")
$stdout.reopen(log)
$stderr.reopen(log)

run Taginfo