lib/ush/app.rb in ush-0.1.0b vs lib/ush/app.rb in ush-0.1.0
- old
+ new
@@ -1,13 +1,11 @@
require 'sinatra/base'
-require 'ush/db/sqlite'
+require "ush/db/sqlite"
module Ush
# The sinatra app that runs ush
class App < Sinatra::Base
set :server, 'webrick'
- set :environment, :production
- set :port, 80
db = Ush::Sqlite.new
get '/' do
"Your 'ush' deployment seems to be working!"
end
@@ -50,6 +48,6 @@
s = s.to_s
s.gsub! /<|>/, ''
s
end
end
-end
+end
\ No newline at end of file