Welcome to the Linux Foundation Forum!

Are we cool with the new version of fastify?

I noticed that if we run npm init fastify, it will bring down the fastify@4.9.2 to the machine. I just want to confirm that if our tutorial and the exam are ok with the version or not. Thanks!

Best Answer

Answers

  • Posts: 58

    It looks we have problem with fastify-static plugin when working with fastify@4.9.2.

  • Posts: 58

    I have tried to update fastify-static plugin to @fastify/static@6.5.0. For the updated version, if both routes/root.js and public/index.html are available at the same time, root.js has a higher priority over index.html when users try to access http://localhost:3000

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training