We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38e6e85 + e96f030 commit 1da44feCopy full SHA for 1da44fe
src/app/api/allowlist/[address]/route.ts
@@ -7,6 +7,8 @@ import { NextResponse } from 'next/server'
7
import * as v from 'valibot'
8
import { type Address, type Hex, isAddress } from 'viem'
9
10
+export const revalidate = 10
11
+
12
const schema = v.object({
13
address: v.custom<Address>(
14
(input) => typeof input === 'string' && isAddress(input),
0 commit comments