-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
| ? getSchemaValidator( |
Cloudflare error:
EvalError: Code generation from strings disallowed for this context
reported on discord
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels