Skip to content

Commit 0f3ee17

Browse files
committed
fix: force get routes to be dynamic
1 parent 075ade6 commit 0f3ee17

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/app/api/dispute/[id]/status/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = "force-dynamic";
2+
13
import { NextRequest, NextResponse } from "next/server";
24

35
import { fetchStatus } from "./query";

src/app/api/dispute/[id]/template/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = "force-dynamic";
2+
13
import { NextRequest, NextResponse } from "next/server";
24

35
import { getDispute } from "@kleros/kleros-sdk";

src/app/api/dispute/[id]/votes/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = "force-dynamic";
2+
13
import { NextRequest, NextResponse } from "next/server";
24

35
import { fetchVotes } from "./query";

0 commit comments

Comments
 (0)