feat(devops): separate public page server timing diagnostics
This commit is contained in:
1 parent
d5091d1a73
commit
baeb54aeb5
15 files changed
+315
-29
No files matched your search
@@ -7,6 +7,7 @@ import { ContentCard, EmptyState } from "@/components/public/ui";
|
||||
import { auth } from "@/lib/auth";
|
||||
import { excerpt, slugify } from "@/lib/format";
|
||||
import { logger } from "@/lib/logger";
|
||||
import { withPublicPagePerformance } from "@/lib/public-page-performance";
|
||||
import { loadPublicEvents } from "@/lib/services/public-events";
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
@@ -22,7 +23,7 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
};
|
||||
}
|
||||
|
||||
export default async function EventsPage({
|
||||
async function EventsPage({
|
||||
searchParams,
|
||||
}: {
|
||||
searchParams: Promise<{
|
||||
@@ -274,3 +275,5 @@ export default async function EventsPage({
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
export default withPublicPagePerformance("/events", EventsPage);
|
||||
Reference in new issue
Block a user