Skip to content

Commit f328a0d

Browse files
Update index.mdx
docs: replace deprecated "key" with "path" in second example
1 parent 3428636 commit f328a0d

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/server-side-rendering

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/server-side-rendering/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ Similar to static rendering with the App Router, you can pass `null` as the valu
576576
export async function getStaticProps() {
577577
const splashUrl = await runWithAmplifyServerContext({
578578
nextServerContext: null,
579-
operation: (contextSpec) => getUrl(contextSpec, { key: 'splash.png' })
579+
operation: (contextSpec) => getUrl(contextSpec, { path: 'splash.png' })
580580
});
581581

582582
return {

0 commit comments

Comments
 (0)