diff --git a/src/routes/index.js b/src/routes/index.js index bb017a5c..74bbdccf 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -54,7 +54,7 @@ export function index(filename) { } } -export let json = fn => accepts({ +export const json = fn => accepts({ 'text/html': index(), 'text/plain': index(), 'application/json': fn