I’m attempting to create a JWT using the jsonwebtoken npm library.
Works great in a deployed worker, but fails when using “wrangler preview”:
script exceeded time limit
Uncaught (in response) Error: internal error
How can I get the dev env (wrangler preview) to operate like the deployed production env? I don’t get timeouts, time limit errors there.