refactor (#2): separate static files from functions
This commit is contained in:
parent
1af5c0702a
commit
5534179990
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user