angular-klingon / klingon

Angular Klingon: The UI companion for the @angular/cli
https://angular.run
MIT License
189 stars 19 forks source link

Bug: service worker script breaks in electron in production mode, klingon logo url broken #64

Closed sumitparakh closed 5 years ago

sumitparakh commented 5 years ago

Describe the bug When we run electron in prod. env. Service worker script and klingon logo image breaks.

To Reproduce Steps to reproduce the behavior:

  1. Run electron in prod. env (If you alreay have service worker installed in electron then unregister it and then run it again)
  2. Check console and you will see few errors related to service worker script, unsupported file protocol etc.

Expected behavior It should load service worker script.

Screenshots errors

Desktop (please complete the following information):