Migrate react-scripts to vite
I have a project using react-scripts 4 with a proxy-dev-server needed to start the app where I have:
And I'm migrating the project to use vite. I have almost everything done, can start the app but can't start the session
My new vite.config.ts looks like this https://gist.github.com/FACorreiaa/3c87607cb52ee6a52d332b5b2a0875f9
And from the examples I saw I need to start my proxy and vite concurrently:
My server endpoint responds with json
https://127.0.0.1:8443/api/v2/system/status
status: "operational"
But when I try to start my session I get:
If I go back on the react-scripts configs everything works fine tho. Anyone has any clue on what I might be missing on the vite part ?
0 Replies