fastify / fastify-vite

Fastify plugin for Vite integration.
MIT License
849 stars 71 forks source link

fix: use fetchJSON to fix 'ky is not a function' error #143

Closed tomashco closed 5 months ago

tomashco commented 6 months ago

Running the react-next example I found out that ky was not available (error: ky is not a function). I did a refactoring to use fetchJSON in getServerSideProps inside the pages.

Now the example is working.

Checklist

netlify[bot] commented 6 months ago

Deploy Preview for agitated-mahavira-26f8f9 canceled.

Name Link
Latest commit ebf6f3ee9082d724bcfd7bd09b76e8fce4f46fed
Latest deploy log https://app.netlify.com/sites/agitated-mahavira-26f8f9/deploys/65eb41c5e95e240008640313
galvez commented 5 months ago

LGTM!