Update revalidate paths again

This commit is contained in:
Henrik Larsson 2023-07-07 15:27:52 +02:00
parent 3e40b8dd4f
commit 6687a950ed
2 changed files with 0 additions and 9 deletions

View File

@ -5,8 +5,6 @@ import { NextRequest, NextResponse } from 'next/server';
const SANITY_WEBHOOK_SECRET = `${process.env.SANITY_WEBHOOK_SECRET}`;
export const runtime = 'edge'
export async function POST(request: NextRequest) {
// Await the response from our request.
const requestData = await request.json();

View File

@ -1,9 +1,5 @@
{
"private": true,
"engines": {
"node": ">=18",
"pnpm": ">=7"
},
"scripts": {
"dev": "next dev",
"build": "next build",
@ -73,8 +69,5 @@
"prettier-plugin-tailwindcss": "^0.2.8",
"tailwindcss": "^3.3.2",
"typescript": "4.9.5"
},
"browser": {
"crypto": false
}
}