Robots
Nitro Api
getPathRobotConfig()
Access the robots config for a specific path in Nitro.
Type: (path: string) => { indexable: boolean; rule: string }
Get the robots config for a specific path.
Usage
import { getPathRobotConfig } from '#imports'
const { indexable, rule } = getPathRobotConfig('/admin')