Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import { env } from "@/lib/env";
import { fillRange } from "@/lib/utils";
import { ColumnChart } from "@/components/charts";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";

export const revalidate = 0;

export default async function ApiPage(props: { params: { keyId: string } }) {
const tenantId = getTenantId();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { ApiKeyTable } from "@/components/ApiKeyTable";
import { Badge } from "@/components/ui/badge";
import { CopyButton } from "@/components/CopyButton";
import { Button } from "@/components/ui/button";

export const revalidate = 0;
export default async function ApiPage(props: { params: { apiId: string } }) {
const tenantId = getTenantId();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Props = PropsWithChildren<{
apiId: string;
};
}>;

export const revalidate = 0;
export default async function ApiPageLayout(props: Props) {
const tenantId = getTenantId();

Expand Down
2 changes: 2 additions & 0 deletions apps/web/app/(authenticated)/(app)/app/keys/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { redirect } from "next/navigation";
import { CreateKeyButton } from "./CreateKey";
import { ApiKeyTable } from "@/components/ApiKeyTable";

export const revalidate = 0;

export default async function SettingsKeysPage() {
const tenantId = getTenantId();

Expand Down
2 changes: 2 additions & 0 deletions apps/web/app/(authenticated)/(app)/app/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { db, eq, schema } from "@unkey/db";
import { Tinybird, getUsage } from "@unkey/tinybird";
import { redirect } from "next/navigation";

export const revalidate = 0;

export default async function SettingsPage() {
const tenantId = getTenantId();

Expand Down