Skip to content

Commit 5c440f9

Browse files
authored
chore(rsc): update rsc payload url in example (#1041)
1 parent 261bde2 commit 5c440f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/plugin-rsc/examples/starter-cf-single/src/root.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ function App() {
5252
</li>
5353
<li>
5454
Visit{' '}
55-
<a href="/?__rsc" target="_blank">
56-
<code>/?__rsc</code>
55+
<a href="./_.rsc" target="_blank">
56+
<code>/_.rsc</code>
5757
</a>{' '}
5858
to view RSC stream payload.
5959
</li>

packages/plugin-rsc/examples/starter/src/root.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ function App(props: { url: URL }) {
5353
</li>
5454
<li>
5555
Visit{' '}
56-
<a href="?__rsc" target="_blank">
57-
<code>?__rsc</code>
56+
<a href="./_.rsc" target="_blank">
57+
<code>_.rsc</code>
5858
</a>{' '}
5959
to view RSC stream payload.
6060
</li>

0 commit comments

Comments
 (0)