The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
import { PROD_URL } from '~/lib/constants'
import MARKDOWN_SLUGS from '~/public/markdown/manifest.json'
const SLUGS = new Set<string>(MARKDOWN_SLUGS)
export function mdAlternate(slug: string): { 'text/markdown': string } | undefined {
if (!SLUGS.has(slug)) return undefined
return { 'text/markdown': `${PROD_URL}/guides/${slug}.md` }
}