diff --git a/.changeset/late-mangos-tickle.md b/.changeset/late-mangos-tickle.md new file mode 100644 index 0000000..ca769b3 --- /dev/null +++ b/.changeset/late-mangos-tickle.md @@ -0,0 +1,6 @@ +--- +"webcrypt-session-example": patch +"webcrypt-session": patch +--- + +Add a live demo diff --git a/examples/cloudflare/src/index.ts b/examples/cloudflare/src/index.ts index 4ffb82f..77908d5 100644 --- a/examples/cloudflare/src/index.ts +++ b/examples/cloudflare/src/index.ts @@ -26,6 +26,35 @@ const sessionScheme = z.object({ const signInParamScheme = z.object({ username: z.string(), }); + +const welComePage = ` +
+Please sign in first with sign-in.
+ +