Trying to deploy reacts app
amf5214
HOBBYOP
2 years ago
I am trying to deploy a reacts application and it is building and deploying, but when I open up the public url, I get an error stating that the application failed to respond
3 Replies
amf5214
HOBBYOP
2 years ago
I added --host to expose the host but it still did not work
2 years ago
You are trying to run a development server, that's going to be buggy and very costly.
https://github.com/brody192/vite-react-template
Copy the nixpacks.toml and Caddyfile from this repo into yours.