Skip to content

Commit

Permalink
fix: edge
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Feb 29, 2024
1 parent 0fe5b44 commit 807a2ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/api/webhook/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { CacheKeyMap } from '~/constants/keys'
import { invalidateCache, invalidateCacheWithPrefix } from '~/lib/cache'
import { NextServerResponse } from '~/lib/edge-function.server'

export const runtime = 'edge'
export const POST = async (nextreq: NextRequest) => {
const secret = process.env.WEBHOOK_SECRET
const res = new NextServerResponse()
Expand Down

0 comments on commit 807a2ca

Please sign in to comment.