title: Strapi CMS not loading index.html correct path (undefined)
body: <p>Im using Strapi 3.6.8 and i came cross a problem i cant understand with loading the Admin panel.
  the CMS status page is working perfect and the API is responding with no problem, but when i try to open the Admin panel i get blank page (white page) and in the page source ican see that there are two files that get 404 error (not found).
  The files are: runtime-main.XXXXXXX.js, main.xxxxxxx.chunk.js.
  The probplem is clear - the files path is wrong as you can see in the files source:</p>
  <pre><code>    &lt;!doctype html&gt;
  &lt;html lang=&quot;en&quot;&gt;
  &lt;head&gt;
    &lt;!-- The first thing in any HTML file should be the charset --&gt;
    &lt;meta charset=&quot;utf-8&quot;&gt;
    &lt;!-- Make the page mobile compatible --&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt;
    &lt;meta name=&quot;mobile-web-app-capable&quot; content=&quot;yes&quot;&gt;
    &lt;title&gt;Strapi Admin&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;!-- The app hooks into this div --&gt;
  &lt;div id=&quot;app&quot;&gt;&lt;/div&gt;
  &lt;!-- A lot of magic happens in this file. HtmlWebpackPlugin automatically includes all assets (e.g. bundle.js, main.css) with the correct HTML tags, which is why they are missing in this HTML file. Don't add any assets here! (Check out webpackconfig.js if you want to know more) --&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;/undefined/cms/undefined/admin/runtime~main.1727abc3.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;/undefined/cms/undefined/admin/main.be8fb29b.chunk.js&quot;&gt;&lt;/script&gt;&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>unforthantly, i wasn;t able to figure it by myself, i tried the following:</p>
  <ul>
  <li>Checked ENV files</li>
  <li>Cleared yarn/npm lock files and node-module folder (and reinstalled)</li>
  <li>Update packages</li>
  <li>Build and run locally using docker (instead of just runing the server locally)</li>
  </ul>
  <p>none of the things i tried is working, im sure it's something really small and stupid to fix. it worked perfeclty until somepoint, but i cant findout what was changed.
  Thanks.</p>