title: base href taking incorrectly and no idea from where its taking
body: <p>I am taking a base url in html as </p>
  
  <pre><code>&lt;base href="https://namwebsite.com/demo/prjFolder/"&gt;
  </code></pre>
  
  <p>When I run <code>ng build --prod</code> and host the generated files in the server,
  I get the following error.</p>
  
  <p>The prob is it is not adding slash after prjFolder and hence the path is getting invalid.</p>
  
  <p>Anybody has any idea about this and a solution to fix this issue.</p>
  
  <p>I even tried but still same error</p>
  
  <pre class="lang-none prettyprint-override"><code>ng build --prod --base-href https://namwebsite.com/demo/prjFolder/
  </code></pre>
  
  <p>index.html file :</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;base href="https://namwebsite.com/demo/prjFolder/"&gt;
  
  
  &lt;/head&gt;
  &lt;body&gt;
  
    &lt;app-root&gt;&lt;/app-root&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Error :</p>
  
  <blockquote>
    <p>GET <a href="https://namwebsite.com/demo/prjFolderstyles.2cd1dd7108e063f57822.css" rel="nofollow noreferrer">https://namwebsite.com/demo/prjFolderstyles.2cd1dd7108e063f57822.css</a> net::ERR_ABORTED 404
        demo.js:1 Uncaught ReferenceError: APlayer is not defined
            at demo.js:1
        (anonymous) @ demo.js:1
        3/:50 GET <a href="https://namwebsite.com/demo/prjFolderpolyfills.f6ae3e8b63939c618130.js" rel="nofollow noreferrer">https://namwebsite.com/demo/prjFolderpolyfills.f6ae3e8b63939c618130.js</a> net::ERR_ABORTED 404
        ppomap.js:9 Uncaught ReferenceError: google is not defined
            at initialize (ppomap.js:9)
            at ppomap.js:88
        initialize @ ppomap.js:9
        (anonymous) @ ppomap.js:88
        /:41 GET <a href="https://namwebsite.com/demo/prjFolderstyles.2cd1dd7108e063f57822.css" rel="nofollow noreferrer">https://namwebsite.com/demo/prjFolderstyles.2cd1dd7108e063f57822.css</a> net::ERR_ABORTED 404
        3/:50 GET <a href="https://namwebsite.com/demo/prjFolderruntime.a4802852034188678b29.js" rel="nofollow noreferrer">https://namwebsite.com/demo/prjFolderruntime.a4802852034188678b29.js</a> net::ERR_ABORTED 404 </p>
  </blockquote>