summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindex.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.pl b/index.pl
index eb4d627..7b84c4a 100755
--- a/index.pl
+++ b/index.pl
@@ -1233,6 +1233,6 @@ app->config(
},
);
-app->types( json => 'application/json; charset=utf-8' );
+app->types->type( json => 'application/json; charset=utf-8' );
app->start;