workspace for developing react

I have a self hosted coder instance running on my personal server that I access from behind a wireguard vpn. the source code for my workspace is this:

when I run the react app using the “npm run dev” command, coder opens another tab that gives me a “bad 502 gateway” error. how can I troubleshoot this?
Was this page helpful?
workspace for developing react - Coder.com