lib = File.expand_path('..', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'showdown'
puts “tartget: #{ENV}”
map '/' do
run Rack::File.new(File.expand_path(File.dirname(__FILE__)) + '/html/index.html')
end
map '/websocket' do
run Showdown::RackApp.new # backend: { debug: true }
end