Skip to content

Commit 707ab8a

Browse files
committed
added missing changes
1 parent 0af76b0 commit 707ab8a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/nextjs/app/page.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ const itemShape = (): ShapeStreamOptions => {
1111
if (typeof window !== `undefined`) {
1212
return {
1313
url: new URL(`/shape-proxy`, window?.location.origin).href,
14-
table: `items`,
14+
params: { table: `items` },
1515
}
1616
} else {
1717
return {
1818
url: new URL(`https://not-sure-how-this-works.com/shape-proxy`).href,
19-
table: `items`,
19+
params: { table: `items` },
2020
}
2121
}
2222
}

examples/nextjs/app/shape-proxy/route.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ export async function GET(request: Request) {
4141
})
4242
}
4343
return resp
44-
}
44+
}

examples/nextjs/sst.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function getNeonDbUri(
103103
? endpoint.endpoints?.apply((endpoints) =>
104104
endpoints![0].host.replace(
105105
endpoints![0].id,
106-
endpoints![0].id + "-pooler"
106+
endpoints![0].id + `-pooler`
107107
)
108108
)
109109
: project.databaseHost

0 commit comments

Comments
 (0)