function feedApiUrl
feedApiUrl(categorySlug?: string): string

Returns the URL of the feed's dumps, GET /api/dumps, every dump's or those of the category categorySlug; pageUrl adds the page to it. The index page loads it, and landingRequest names it to start it early.

Parameters

optional
categorySlug: string

Return Type

string

Usage

import { feedApiUrl } from "src/utils/shared/urls.ts";