In my application, I'm using a REST client and an Angular application generated by composer-cli. In sometimes, the REST client is terminated while I'm using the Angular app.
I noticed that this termination happens especially whenever I'm trying to use images in the Angular app. It seems an unwanted request is sent to the REST client when the image is loading.
REST client's log is as below.
I'm using a default generated Angular app. Any suggestions?
I figured out the issue in my code. It was in the auto-generated proxy configuration file (proxy.conf.js).
I changed above part to,
and also images should be located in
./src/assets
folder.