refactor (#2): separate static files from functions

This commit is contained in:
Ben Hong 2022-02-23 08:25:34 -08:00
parent 1af5c0702a
commit 5534179990
2 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
// Jokes provided from the lovely folks at https://icanhazdadjoke.com
import jokes from './jokes.json'
import jokes from './data/jokes.json'
export const handler = async () => {
// Generates a random index based on the length of the jokes array