lukeed / svelte-demo

Multi-page demo built Svelte 3.x and Rollup with code-splitting
MIT License
114 stars 19 forks source link

Blog page doesn't open #4

Closed jakobrosenberg closed 5 years ago

jakobrosenberg commented 5 years ago

The other pages do though.

lukeed commented 5 years ago

Hmm maybe something changed in recent versions. What version of Svelte are you using? And are there any errors in console?

jakobrosenberg commented 5 years ago

Access to fetch at 'https://sapper-template.now.sh/blog.json' from origin 'http://localhost:5000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

I just ran npm install, so I assume the latest version of Svelte.

lukeed commented 5 years ago

Oh, the sapper demo no longer lives there. I'll see if I can track down its current URL