mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
5d779a0289
After discussion, I added falling back to fetch based pinging when the WebSocket fails to connect. I also added an example of how to proxy the onDemandEntries WebSocket when using a custom server. Fixes: #6296
11 lines
151 B
JavaScript
11 lines
151 B
JavaScript
import Link from 'next/link'
|
|
|
|
export default () => (
|
|
<div>
|
|
<h3>Index</h3>
|
|
<Link href='/another'>
|
|
<a>Another</a>
|
|
</Link>
|
|
</div>
|
|
)
|