From a1f815958cf27fd2370ec4c369a3787585f0818c Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Fri, 3 Oct 2014 20:55:49 +0200 Subject: Bugfix: Make sure 404 page has content type text/html. Fixes #83. --- web/taginfo.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'web/taginfo.rb') 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 -- cgit v1.2.3