@sanity/routes
    Preparing search index...

    Interface BaseUrlEntry

    A named base URL for environment-specific URL resolution.

    Multiple entries allow the same route config to produce different URLs per environment (production, staging, preview).

    const baseUrls: BaseUrlEntry[] = [
    { name: 'production', url: 'https://example.com', isDefault: true },
    { name: 'staging', url: 'https://staging.example.com' },
    { name: 'preview', url: 'https://preview.example.com' },
    ]
    interface BaseUrlEntry {
        _key?: string;
        isDefault?: boolean;
        name: string;
        url: string;
    }
    Index

    Properties

    _key?: string
    isDefault?: boolean
    name: string
    url: string