silverwolf-x/project / packages /next /src /lib /is-api-route.ts
silverwolf-x's picture
download
raw
112 Bytes
export function isAPIRoute(value?: string) {
return value === '/api' || Boolean(value?.startsWith('/api/'))
}

Xet Storage Details

Size:
112 Bytes
·
Xet hash:
6c425b1a7370e8a57ff1aa3fc262be9218b151082729aaf4f1f563d9caa5dc1c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.