aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-10-03 20:55:49 +0200
committerJochen Topf <jochen@topf.org>2014-10-03 20:55:49 +0200
commita1f815958cf27fd2370ec4c369a3787585f0818c (patch)
tree640a7e5620fd6cd7f29154b5732421f4ccd278cb /web
parent2d7785d0417ab162696db830fd66f8c730acbaed (diff)
downloadtaginfo-a1f815958cf27fd2370ec4c369a3787585f0818c.tar
taginfo-a1f815958cf27fd2370ec4c369a3787585f0818c.tar.gz
Bugfix: Make sure 404 page has content type text/html.
Fixes #83.
Diffstat (limited to 'web')
-rwxr-xr-xweb/taginfo.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/taginfo.rb b/web/taginfo.rb
index 5763fc9..1ca00fe 100755
--- a/web/taginfo.rb
+++ b/web/taginfo.rb
@@ -195,6 +195,7 @@ class Taginfo < Sinatra::Base
#--------------------------------------------------------------------------
not_found do
+ content_type :html
erb :not_found
end