let json -> const json
This commit is contained in:
1 parent
f2185c5f8c
commit
0c005712a1
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user