Permalink
Browse files

Add mime types to try and fix Heroku bug

  • Loading branch information...
1 parent 5b126cd commit 4a7c20c6aaa33cb5ea853c065cd17ceaea8ba701 @nasser committed Dec 29, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 app.rb
View
7 app.rb
@@ -1,5 +1,12 @@
+# encoding: utf-8
+
require "sinatra"
+configure do
+ mime_type :peg, 'text/peg'
+ mime_type :'قلب', 'text/قلب'
+end
+
get '/' do
content_type :html, 'charset' => 'utf-8'
send_file "public/repl.html"

0 comments on commit 4a7c20c

Please sign in to comment.