You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frontend clients do not change the server when custom serverPort is added. The problem has been observed with Angular project, however after analyzing code it may exists for React and Thymeleaf as well.
Some frontend created files contains hardcoded path to localhost:8080
ie.
proxy.conf.json for Angular,
package.json for Thymeleaf,
vite.config.ts for React
as well as some properties/documentation files:
jwt-basic-auth.md
jhipster-realm.json
Motivation for or Use Case
It is a problem, as sometimes developer has some other application running on localhost:8080, and it is possible to send request to other, not related project.
Reproduce the error
This will be reproduction error for Angular project:
Overview
Frontend clients do not change the server when custom serverPort is added. The problem has been observed with Angular project, however after analyzing code it may exists for React and Thymeleaf as well.
Some frontend created files contains hardcoded path to localhost:8080
ie.
as well as some properties/documentation files:
Motivation for or Use Case
It is a problem, as sometimes developer has some other application running on localhost:8080, and it is possible to send request to other, not related project.
Reproduce the error
This will be reproduction error for Angular project:
Or from json I got from request:
The text was updated successfully, but these errors were encountered: