initial commit on Federted servers
release gate / check (push) Failing after 8m35s

This commit is contained in:
Andrew S Erwin
2026-10-19 16:23:55 -05:00
commit b9721ff13f
217 changed files with 31534 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { apiBase } from '@/lib/api'
import { notFound } from 'next/navigation'
import { PublicBookmarkView } from './client'
export default async function PublicSharePage({ params }: { params: Promise<{ id: string }> }) {
const { id } = await params
const response = await fetch(`${apiBase()}/api/public/bookmarks/${encodeURIComponent(id)}`, { cache: 'no-store' })
if (!response.ok) notFound()
const bookmark = await response.json()
return <PublicBookmarkView bookmark={JSON.parse(JSON.stringify(bookmark))} />
}