Open
Description
The following code doesn't work on Cloudflare
because dynamic
is false
const jwtType = t.Object({
id: t.Number(),
});
export const authPlugin = new Elysia({ name: "authPlugin" }).use(
jwt({
secret: "yay",
name: "jwt",
exp: "20m",
schema: jwtType,
})
);
This function call missing dynamic
parameter:
Line 100 in 67078d5
Cloudflare error:
EvalError: Code generation from strings disallowed for this context
reported on discord
Metadata
Metadata
Assignees
Labels
No labels