chore: add default webhook token
This commit is contained in:
parent
5bf3e07edf
commit
dc6abaeccb
2
.env
2
.env
|
@ -1,5 +1,5 @@
|
|||
UNBODY_API_KEY=
|
||||
UNBODY_LPE_PROJECT_ID=
|
||||
UNBODY_PROJECT_ID=
|
||||
SIMPLECAST_ACCESS_TOKEN=
|
||||
REVALIDATE_WEBHOOK_TOKEN=
|
||||
NEXT_PUBLIC_SITE_URL=https://press.logos.co
|
|
@ -3,7 +3,9 @@ import type { NextApiRequest, NextApiResponse } from 'next'
|
|||
import path from 'path'
|
||||
|
||||
const WEBHOOK_DATA_PATH = path.join(__dirname, '../../webhook_data.json')
|
||||
const TOKEN = process.env.REVALIDATE_WEBHOOK_TOKEN || ''
|
||||
const TOKEN =
|
||||
process.env.REVALIDATE_WEBHOOK_TOKEN ||
|
||||
'f8f1023d7d9d320af73b5ff49a8430dda97e9b666318c7a76b60c13d7a2e152b'
|
||||
|
||||
export type WebhookData = {
|
||||
lastUpdate: number
|
||||
|
|
Loading…
Reference in New Issue