diff options
Diffstat (limited to '')
-rw-r--r-- | config.ru | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ class SinatraStaticServer < Sinatra::Base end not_found do - send_sinatra_file('404.html') {"Sorry, I cannot find #{request.path}"} + send_file(File.join(File.dirname(__FILE__), 'public', '404.html'), {:status => 404}) end def send_sinatra_file(path, &missing_file_block) |