tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
291
fork
atom
a tool for shared writing and social publishing
291
fork
atom
overview
issues
28
pulls
pipelines
make discover page static
awarm.space
7 months ago
84a3cf36
742931ac
+3
1 changed file
expand all
collapse all
unified
split
app
discover
page.tsx
+3
app/discover/page.tsx
···
3
3
import { SortedPublicationList } from "./SortedPublicationList";
4
4
import { Metadata } from "next";
5
5
6
6
+
export const dynamic = "force-static";
7
7
+
export const revalidate = 60;
8
8
+
6
9
export type PublicationsList = Awaited<ReturnType<typeof getPublications>>;
7
10
async function getPublications() {
8
11
let { data: publications, error } = await supabaseServerClient