You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
587 B

# The code in this file is part of the Rubyzome framework
# Rubyzome framework belongs to Luc Juggery and Yann Esposito
# ----------------------------------------------------------------
# DO NOT MODIFY UNLESS YOU KNOW WHAT YOU ARE DOING
# ----------------------------------------------------------------
require 'global'
require 'rubygems'
require 'rack'
require 'rack-rewrite'
require 'rubyzome/rubyzome.rb'
use Rack::Rewrite do
rewrite '/','/static/index.html'
end
use Rack::Static, :urls => [$static_files_directory], :root => "public"
run Rubyzome::RestfulDispatcher.new