variable RESERVED_SLUGS

Lists the top-level path segments a category slug may not take: the feed tabs (/hot), the SPA's own pages (src/App.tsx), and api, ws, assets and emojibase, which the server answers before the SPA. Keep it in step with the route table and the build's top-level folders.

Type

readonly string[]

Usage

import { RESERVED_SLUGS } from "api/lib/reserved-slugs.ts";