chore: update env.example with Inngest keys

This commit is contained in:
javayhu 2025-07-12 09:59:30 +08:00
parent a5c6c8b493
commit 4160305a67
3 changed files with 15 additions and 2 deletions

View File

@ -162,6 +162,13 @@ NEXT_PUBLIC_AFFILIATE_PROMOTEKIT_ID=""
NEXT_PUBLIC_TURNSTILE_SITE_KEY="" NEXT_PUBLIC_TURNSTILE_SITE_KEY=""
TURNSTILE_SECRET_KEY="" TURNSTILE_SECRET_KEY=""
# -----------------------------------------------------------------------------
# Inngest
# https://mksaas.com/docs/jobs#setup
# -----------------------------------------------------------------------------
INNGEST_SIGNING_KEY=""
INNGEST_EVENT_KEY=""
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# AI # AI
# https://mksaas.com/docs/ai # https://mksaas.com/docs/ai

View File

@ -499,8 +499,8 @@
"emailCopied": "Email copied to clipboard", "emailCopied": "Email copied to clipboard",
"banned": "Banned", "banned": "Banned",
"active": "Active", "active": "Active",
"joined": "Joined", "joined": "Joined at",
"updated": "Updated", "updated": "Updated at",
"ban": { "ban": {
"reason": "Ban Reason", "reason": "Ban Reason",
"reasonPlaceholder": "Enter the reason for banning this user", "reasonPlaceholder": "Enter the reason for banning this user",

View File

@ -6,6 +6,12 @@ import { distributeCreditsDaily, helloWorld } from '../../../inngest/functions';
* Inngest route * Inngest route
* *
* https://www.inngest.com/docs/getting-started/nextjs-quick-start * https://www.inngest.com/docs/getting-started/nextjs-quick-start
*
* Next.js Edge Functions hosted on Vercel can also stream responses back to Inngest,
* giving you a much higher request timeout of 15 minutes (up from 10 seconds on the Vercel Hobby plan!).
* To enable this, set your runtime to "edge" (see Quickstart for Using Edge Functions | Vercel Docs)
* and add the streaming: "allow" option to your serve handler:
* https://www.inngest.com/docs/learn/serving-inngest-functions#framework-next-js
*/ */
export const { GET, POST, PUT } = serve({ export const { GET, POST, PUT } = serve({
client: inngest, client: inngest,