You can have the bundler dev server proxy to the API server, but I agree using watch mode is the way to go; if only to get the server intercept requests to the HTML page and handle authentication through redirections (to an SSO or simply a login form).
This is the way to go… unless your building a PWA in which case the dev server approach reverse-proxying to the API should work just OK too (at one point, you'll necessarily have your HTML loaded from your service worker and your authentication with the server will have expired one way or another)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You can have the bundler dev server proxy to the API server, but I agree using watch mode is the way to go; if only to get the server intercept requests to the HTML page and handle authentication through redirections (to an SSO or simply a login form).
This is the way to go… unless your building a PWA in which case the dev server approach reverse-proxying to the API should work just OK too (at one point, you'll necessarily have your HTML loaded from your service worker and your authentication with the server will have expired one way or another)