From c8bc64d31a3c345dcfa1a334652c490b8d5d2894 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Mon, 14 Dec 2015 12:41:16 +0100 Subject: use thin --- server.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.rb b/server.rb index 48052ca..8f20162 100755 --- a/server.rb +++ b/server.rb @@ -6,7 +6,7 @@ require 'sinatra/reloader' require 'nanomsg' require 'zipf' require 'json' -require 'haml' +require 'tilt/haml' require 'uri' require_relative './derivation_to_json/derivation_to_json' require_relative './phrase2_extraction/phrase2_extraction' @@ -46,6 +46,7 @@ $daemons = { # ############################################################################# # Set-up Sinatra # ############################################################################# +set :server, 'thin' set :bind, SERVER_IP set :port, WEB_PORT set :allow_origin, :any -- cgit v1.2.3