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

help needed regarding install documentation #549

Open
abubelinha opened this issue Dec 20, 2023 · 0 comments
Open

help needed regarding install documentation #549

abubelinha opened this issue Dec 20, 2023 · 0 comments

Comments

@abubelinha
Copy link

abubelinha commented Dec 20, 2023

I tried the installation from a CDN (hosted) process, but it is not as easy as explained:

  1. I'd say cdn urls are wrong since the protocol is missing? href="//cdnjs.cloudflare.com
  2. The example tries to link cdn version 6.0.3, but the highest version hosted in cloudflare seems to be 5.1.3, as reported in cdn return 404 #548 (.js and .css files from 6.0.0 are not in cdn yet)

So I followed instead the Install Locally (release package) instructions, and downloaded release 6.0.2 from github.
But I am lost again:

  1. There are no build/diva.css and build/diva.js in the unzipped files.
  2. Actually, there is no build folder. There is a css-related folder is source/css, but it only contains .scss files

My intention is to use diva.js client in my server, to show images hosted in a remote IIIF repository (which is not under my control). Could you please also clarify the Cross-site Requests explanation, where it says:

you must create an exception using the Access-Control-Allow-Origin header on your server to explicitly white-list the objectData location"

  • your server refers to the server where I install diva.js client, or to the remote IIIF server?
  • Can you provide an example explaining how to create that exception?

Thanks a lot for any help you can provide
@abubelinha

@abubelinha abubelinha changed the title upgrade install from cdn-hosted documentation update documentation about install from cdn-hosted Dec 20, 2023
@abubelinha abubelinha changed the title update documentation about install from cdn-hosted help needed regarding install documentation Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant