Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (6 sloc) 296 Bytes
require './init'
use Rack::Static, :urls => ["/favicon.ico", "/classify.html", "/symbols.html", "/stylesheets", "/images", "/flash", "/javascripts", "/fonts"], :root => "public"
map '/api' do
run Detexify::LatexApp
end
run Class.new(Sinatra::Base) { get('/') { redirect '/classify.html' } }