diff options
author | Jochen Topf <jochen@topf.org> | 2014-10-03 20:55:49 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-10-03 20:55:49 +0200 |
commit | a1f815958cf27fd2370ec4c369a3787585f0818c (patch) | |
tree | 640a7e5620fd6cd7f29154b5732421f4ccd278cb | |
parent | 2d7785d0417ab162696db830fd66f8c730acbaed (diff) | |
download | taginfo-a1f815958cf27fd2370ec4c369a3787585f0818c.tar taginfo-a1f815958cf27fd2370ec4c369a3787585f0818c.tar.gz |
Bugfix: Make sure 404 page has content type text/html.
Fixes #83.
-rwxr-xr-x | web/taginfo.rb | 1 |
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 |