I have implemented a spring boot + angular 4 application where i managed all as Server (BE JAVA SPRING boot) + client (FE ANgular app). All was fine until i added the @EnableConfigServer of spring cloud, i used it in order to make my passwords crypted in the application.yml.
I have all configured properly, because i used same specification on another application with spring boot AngularJS.
The problem, i faced only with angular 4, where on the deploy, the browser doesn't found any files in the assets folder like my i18n files translation and images folder etc..
in the browser when i try to access my folder assets as: localhost:9090/contextapp/assests it turns a json response that containes:
{"name":"assets","profiles":["i18n"],"label":"en.json","version":null,"state":null,"propertySources":[]}
in my application.yml i have:
spring:
cloud:
config:
server:
native:
searchLocations: C:/config-repo
profiles: native
How can i proceed?