• Obtains an environment variable as a URL.

    Parameters

    • key: string
    • Optionalfallback: URL

    Returns URL

    export const DATABASE_URL = envUrl("DATABASE_URL", new URL("http://localhost"))