UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

8 lines (6 loc) 265 B
import {route} from 'sanity/router' // eslint-disable-next-line camelcase export const router = route.create('/', {__unsafe_disableScopedSearchParams: true}, [ route.intents('/intent'), route.create(':type', [route.create(':id', [route.create(':path')])]), ])