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

"Try Liblouis online" page does not work with https #13

Open
bertfrees opened this issue Oct 22, 2023 · 1 comment
Open

"Try Liblouis online" page does not work with https #13

bertfrees opened this issue Oct 22, 2023 · 1 comment
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@bertfrees
Copy link
Member

bertfrees commented Oct 22, 2023

http://liblouis.io/translate/ works, but https://liblouis.io/translate/ doesn't.

Note that https://liblouis.github.io/translate/ automatically redirects to http://liblouis.io/translate/.

@bertfrees bertfrees added the bug Indicates an unexpected problem or unintended behavior label Oct 22, 2023
@bertfrees bertfrees transferred this issue from liblouis/liblouis Oct 22, 2023
@siefkenj
Copy link

siefkenj commented Dec 1, 2024

I believe the cause of this is the hard-coded url in

importScripts("http://liblouis.io/js-build/build-no-tables-utf32.js");

from liblouis-worker.js. Changing it to be based off of location.origin should fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants