title: Problems with Angular deploy-url switch
body: <p>I want to deploy my spring-boot webapp with angular-frontend to a tomact-server. I build the angular app with angular-cli and the following commando</p>
  
  <pre><code>ng build --deploy-url /mywebapp/
  </code></pre>
  
  <p>The app works but following problems still exist:</p>
  
  <ol>
  <li>Each time I have to change manually the base href tag to <code>&lt;base href="/mywebapp/"&gt;</code>. Why is this not done automatically in the build process?</li>
  <li>All paths to static ressources of the 'assets' directory must also changed manually to '/mywebapp/assets' (i.e. <code>&lt;img src="/mywebapp/assets/logo.png"&gt;</code>)</li>
  <li>Browser refresh of router links URLs (subpaths) does not work anymore. (i.e. angular navigation to <a href="http://localhost:8080/mywebapp/feature1" rel="nofollow noreferrer">http://localhost:8080/mywebapp/feature1</a> works but if I want to refresh the same URL in the browser it does not work. I can only refresh the root URL <a href="http://localhost:8080/mywebapp/" rel="nofollow noreferrer">http://localhost:8080/mywebapp/</a>)</li>
  </ol>