From bdb2d8412568fe7ddc8fbad5b8344f9e05dcae12 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Thu, 12 Apr 2012 09:47:34 +0200 Subject: Relaxed YAML check --- fs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs.rb b/fs.rb index 490e34e..1f621ba 100644 --- a/fs.rb +++ b/fs.rb @@ -38,7 +38,7 @@ get "/fs/rfe/?" do when /text\/html/ content_type "text/html" OpenTox.text_to_html algorithm.to_yaml - when /application\/x-yaml/ + when /yaml/ content_type "application/x-yaml" algorithm.to_yaml else -- cgit v1.2.3