Skip to content

Commit

Permalink
fix: force get routes to be dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
alcercu committed Jan 14, 2025
1 parent 075ade6 commit 0f3ee17
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/api/dispute/[id]/status/route.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const dynamic = "force-dynamic";

import { NextRequest, NextResponse } from "next/server";

import { fetchStatus } from "./query";
Expand Down
2 changes: 2 additions & 0 deletions src/app/api/dispute/[id]/template/route.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const dynamic = "force-dynamic";

import { NextRequest, NextResponse } from "next/server";

import { getDispute } from "@kleros/kleros-sdk";
Expand Down
2 changes: 2 additions & 0 deletions src/app/api/dispute/[id]/votes/route.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const dynamic = "force-dynamic";

import { NextRequest, NextResponse } from "next/server";

import { fetchVotes } from "./query";
Expand Down

0 comments on commit 0f3ee17

Please sign in to comment.