summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-04-12 09:47:34 +0200
committerAndreas Maunz <andreas@maunz.de>2012-04-12 09:47:34 +0200
commitbdb2d8412568fe7ddc8fbad5b8344f9e05dcae12 (patch)
tree0f45cbfeac83c5f389571748ac59aaaf31091901
parent3d7161ef60518125bedcba1643301ee168bcf809 (diff)
Relaxed YAML check
-rw-r--r--fs.rb2
1 files changed, 1 insertions, 1 deletions
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