Skip to content

Commit

Permalink
added missing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
balegas committed Dec 9, 2024
1 parent 0af76b0 commit 707ab8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ const itemShape = (): ShapeStreamOptions => {
if (typeof window !== `undefined`) {
return {
url: new URL(`/shape-proxy`, window?.location.origin).href,
table: `items`,
params: { table: `items` },
}
} else {
return {
url: new URL(`https://not-sure-how-this-works.com/shape-proxy`).href,
table: `items`,
params: { table: `items` },
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/app/shape-proxy/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ export async function GET(request: Request) {
})
}
return resp
}
}
2 changes: 1 addition & 1 deletion examples/nextjs/sst.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function getNeonDbUri(
? endpoint.endpoints?.apply((endpoints) =>
endpoints![0].host.replace(
endpoints![0].id,
endpoints![0].id + "-pooler"
endpoints![0].id + `-pooler`
)
)
: project.databaseHost
Expand Down

0 comments on commit 707ab8a

Please sign in to comment.