Skip to content

Commit

Permalink
chore(docs): update cronjob to every 2hrs and update privacy policy i…
Browse files Browse the repository at this point in the history
…n example app
  • Loading branch information
ndom91 committed May 12, 2024
1 parent 2a1e244 commit 1f154fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions apps/examples/nextjs/app/policy/page.tsx
Expand Up @@ -16,13 +16,15 @@ export default function PolicyPage() {
<section>
<h2 className="text-xl font-bold">Privacy Policy</h2>
<p>
This site uses JSON Web Tokens and an in-memory database which resets
every ~2 hours.
This site uses JSON Web Tokens and a Key-Value database for sessions
and WebAuthn authenticators which resets every 2 hours.
</p>
<p>
Data provided to this site is exclusively used to support signing in
and is not passed to any third party services, other than via SMTP or
OAuth for the purposes of authentication.
OAuth for the purposes of authentication. And Vercel KV / Upstash for
hosting the Key Value store. This data is deleted every 2 hours via
cron job.
</p>
</section>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/vercel.json
Expand Up @@ -14,7 +14,7 @@
"crons": [
{
"path": "/api/cron",
"schedule": "0 1 * * *"
"schedule": "42 */2 * * *"
}
],
"redirects": [
Expand Down

0 comments on commit 1f154fe

Please sign in to comment.