Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT committed Oct 20, 2023
1 parent 795c3aa commit 5c167a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/async/src/app/json-stream-finite/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ function getResponseShape() {
};
}

export const dynamic = "force-dynamic";

export type ResponseShape = ReturnType<typeof getResponseShape>;

export function GET() {
Expand Down
2 changes: 2 additions & 0 deletions examples/async/src/app/sse-finite/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function getResponseShape() {

export type ResponseShape = ReturnType<typeof getResponseShape>;

export const dynamic = "force-dynamic";

export function GET() {
const res = createSSEResponse(getResponseShape());

Expand Down
2 changes: 2 additions & 0 deletions examples/async/src/app/sse-infinite/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ function getResponseShape() {

export type ResponseShape = ReturnType<typeof getResponseShape>;

export const dynamic = "force-dynamic";

export function GET() {
const res = createSSEResponse(getResponseShape());

Expand Down

0 comments on commit 5c167a5

Please sign in to comment.