From 4f82f43d02b40809f6bff5763c694a9816f546d4 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Wed, 25 Apr 2012 10:50:39 +0200 Subject: fix content-type for json --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.rb b/application.rb index 4df696c..bda0ff9 100644 --- a/application.rb +++ b/application.rb @@ -185,7 +185,7 @@ get '/:id' do send_file file, :type => 'application/rdf+xml' when /json/ - send_file @json_file, :type => 'application/x-yaml' + send_file @json_file, :type => 'application/json' when /yaml/ file = "#{@@datadir}/#{params[:id]}.yaml" -- cgit v1.2.3