Skip to content

Image jgraph/drawio vs fjudith/draw.io in self-contained/ docker compose #37

Open

Description

@fuminori-ido-m

Dear,

I wondered why debian/Dockerfile generated docker process had an error as follows when I accessed it from my browser:

Access to XMLHttpRequest at 'https://rt.draw.io/cache?alive' from origin 'https://localhost:8443' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains the invalid value 'https:/'.

...while self-contained/docker-compose.yml didn't.

What I find out is that the image is different. The former is latest built locally while the latter is https://hub.docker.com/r/jgraph/drawio

Unfortunately, the latter doesn't show Dockerfile so that I wonder how it is built.

Could you let me know how to fix this CORS error in either:

a) by fixing drawio itself
b) by knowing how to build jgraph/drawio
c) any other?

Thank you and best regards,

Activity

  1. krufab commented on Dec 11, 2019

    @krufab

    The source of the jgraph/drawio image is here: https://github.com/jgraph/docker-drawio/tree/master/debian

  2. added a commit that references this issue on Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions