readium / readium-js-viewer

👁 ReadiumJS viewer: default web app for Readium.js library
BSD 3-Clause "New" or "Revised" License
550 stars 186 forks source link

Cloud-Reader Lite Issue #627

Closed sage-IT closed 7 years ago

sage-IT commented 7 years ago

Cloud reader lite cant seem to load any epub, showing a loading icon the whole time and indicating that the URI is undefined. See attached image.

This issue is a Bug

Related issue(s) and/or pull request(s)

*NA

Expected Behaviour

Open one of the default epubs that comes with readium. In this case accessible_epub_3

Observed behaviour

Readiumlight reader just seems to show the loader and not do anything. Attached is an image from a screen grab from the console log of chrome

Steps to reproduce

  1. Run the command npm run dist
  2. Copy the lite reader from the dist folder to a
  3. Then open Chrome and navigate to local address 192.168.1.175/cloud-reader-lite/index.html?epub=EPUBs/accessible_epub_3 screen shot 2017-06-20 at 3 43 59 pm

Test file(s)

Ive also tried this on our public server you can find it here: https://buildaustralia.com.au/cloud-reader-lite/index.html?epubs=EPUBs/accessible_epub_3

Product

sage-IT commented 7 years ago

After much debugging and prodding I have fixed this issue This can be closed

danielweck commented 7 years ago

Hello, could you please share your fix? (unless of course it was specific to your deployment of the cloud reader)