-
install dependencies and run vite dev server
npm install npm run dev
-
visit the site (http://localhost:5174) with dev tools open
-
notice that you are redirected to
/failand thepingResponseisnull -
stop the vite server
-
downgrade to
@tanstack/react-query@5.85.1npm install @tanstack/react-query@5.85.1
-
run vite again and visit the site and notice that you don't get redirected and the response is now available
npm run dev

