title: Service worker file not found in offline mode
body: <p>My web app is like this:</p>
  
  <p>I have an Apache server running on port 80, with virtual hosts for my domain and different subdomains, including port 443 for SSL.</p>
  
  <p>I have a nodejs application running on port 5000.</p>
  
  <p>All traffic to my main domain is redirected using proxypass from apache to nodejs.</p>
  
  <p>NodeJs then loads Service Workers.</p>
  
  <p>Problem:</p>
  
  <p>ON first load of application in online mode it works properly.Shows Service worker registered over the complete domain message as expected. Even for some css,js and img it return response fromServiceWorker. </p>
  
  <p>But now when I open same page on offline mode service worker dont play it part to open the web app.</p>
  
  <p>Error:
  1. Uncaught (in promise) TypeError: Failed to fetch(…).</p>
  
  <ol start="2">
  <li>An unknown error occurred when fetching the script for service-worker file.</li>
  </ol>
  
  <p>Any help on this regard to implement this properly will be be helpful.</p>