-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to find epub resource path. #1322
Comments
You could either
Otherwise, you'd have to modify v0.3 to account for So to fix this without using a server or service workers, I think it really needs to properly parse the HTML and get all |
How do I use Epub.js v0.4? How do I load files through the service worker? |
Take a look at the v0.4 branch: https://github.com/futurepress/epub.js/tree/v0.4. AFAICT v0.4 is still work in progress, and I haven't tried it myself. Also, you might be able use v0.3 and implement the service worker part yourself. It's similar to serving unpacked EPUBs with a server, except the service worker works on the client side. IMO using service workers is not really ideal, though, as it's not really something a service worker is designed to do, but more like abusing its ability to intercept requests. It would be much better and easier to just set up a real server. |
to appreciate the solution Thank you for your answer. I have a headache. First of all, I think we should look for the implementation of the service worker again!Is there a bunch of code that could be an example? |
Paths starting with "./" in the epub resource.
In the process of changing to blob,
"./" I can't load the file because it's changed without including the text.
"./" Is there any way to change url including?
I'm in a hurry.
The text was updated successfully, but these errors were encountered: