hackernews icon indicating copy to clipboard operation
hackernews copied to clipboard

Feeds don't load after deploying SPA

Open pjatx opened this issue 4 years ago • 1 comments
trafficstars

For some reason, it appears the feeds aren't loading after deploying to Cloudflare pages in SPA mode. Locally everything works fine.

I'm able to reproduce if I change lazy -> false here: https://github.com/nuxt/hackernews/blob/8b4413eb4388c3e0ac31cd53aa339084b604a9bd/server/api/hn/index.ts#L20

Anyone know what could be causing this or how to resolve?

pjatx avatar Nov 04 '21 21:11 pjatx

Also, appears the SPA demo is also broken in the same way: https://hn-spa.nuxtjs.org/news

pjatx avatar Nov 04 '21 22:11 pjatx

This repo is now switched to Nuxt 3 implementation, and I think the issue is no longer relevant. Thanks.

antfu avatar Oct 16 '22 23:10 antfu