Skip to content
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

Error occurs by links to external site in TOC #657

Closed
MurakamiShinyu opened this issue Sep 23, 2020 · 1 comment
Closed

Error occurs by links to external site in TOC #657

MurakamiShinyu opened this issue Sep 23, 2020 · 1 comment
Assignees
Labels

Comments

@MurakamiShinyu
Copy link
Member

Describe the bug

With bookMode=true, when TOC (e.g., the <nav> element) has links to external site, the CORS error occurs:

"Received an empty response for https://.... This may be caused by the server not allowing cross-origin resource sharing (CORS)."

To Reproduce

Test Vivliostyle Viewer with
https://vivliostyle.org/viewer/#src=https://vivliostyle.org/&bookMode=true&renderAllPages=false

Expected behavior

In the Book Mode, multiple web pages in a site are expected to be loaded consecutively by the links in the TOC, but external sites should be excluded.

Screenshots
Screen Shot 2020-09-23 22 10 41

@MurakamiShinyu
Copy link
Member Author

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

No branches or pull requests

1 participant