Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Demo for cache not working on localhost #105

Open
1 task done
pik opened this issue Jun 5, 2016 · 1 comment
Open
1 task done

Demo for cache not working on localhost #105

pik opened this issue Jun 5, 2016 · 1 comment

Comments

@pik
Copy link

pik commented Jun 5, 2016

Description

The demo for the cache fails to load the books and produces errors on localhost.

Expected outcome

The book to load.

Actual outcome

:8080/service-worker.js:10 Service worker disabled for development, will be generated at build time.
:8080/service-worker.js:10 Service worker disabled for development, will be generated at build time.
:8080/service-worker.js:10 Service worker disabled for development, will be generated at build time.
index.js:21Uncaught (in promise) TypeError: Request scheme 'chrome-extension' is unsupported(…)
marked.js:138 Uncaught (in promise) TypeError: src.replace is not a function(…)

Steps to reproduce

select platinum-sw-cache, select demo, select a book.

Browsers Affected

  • Chromium 50.0
@bolerap
Copy link

bolerap commented Jun 27, 2017

Same issue, My generated service-worker.js has only log command. How can i generate service-worker.js with real content?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants