summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-10-11 21:10:36 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-10-11 21:10:36 +0200
commit2fd2693bf6033159bb4187216d667f3eba86f512 (patch)
tree23e2d0fc78a61d3a4b8656eea07ad888a6ccb9fb
parent9b1de3c6e23ec7835b87d053ac98ea04a4b3dbf1 (diff)
index: deliver json as utf-8
-rw-r--r--index.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index ac5be2b..a4a2442 100644
--- a/index.pl
+++ b/index.pl
@@ -260,4 +260,5 @@ app->config(
},
);
+app->types->type( json => 'application/json; charset=utf-8' );
app->start();