giovannicandido / generator-spring-spa

Best practices and production quality to start with a modern FrontEnd in AngularJS 2 or Aurelia, backend by Java Spring Boot Framework
MIT License
7 stars 4 forks source link

Standard app.baseURL configuration with validations #10

Open giovannicandido opened 7 years ago

giovannicandido commented 7 years ago

A configuration for app.baseURL (the url of the app in production, for instance to send emails links)

Validations that show if baseUrl is pointing to localhost and produces an warning in dev, and a error in production (preventing the application to start with a wrong baseURL)

Possibilit to inject the baseUrl component in other spring components