summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-09-18 22:15:52 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-09-18 22:15:52 +0200
commitc2ac0910eef3f0db5c4f1bf1692b0769125abedc (patch)
tree8000dc8dffd2f7b2c22320248cc6da3e55ed7732
parent152df485a903c80394945b178df4411b155c1f7d (diff)
Fix UTF-8 in json export
-rw-r--r--cgi/index.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 4e481a8..3ce8415 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -435,4 +435,5 @@ app->config(
},
);
+app->types->type( json => 'application/json; charset=utf-8' );
app->start();