Skip to content

Using locally hosted version of drawio #54

@subhanshu-shukla-ril

Description

@subhanshu-shukla-ril

Hi Team,
When I am using this plugin with locally hosted version of drawio, I am getting below error

Image

Here is my docker compose of locally hosted drawio

version: '3'

services:
  drawio:
    image: tomcat:9-jdk11
    container_name: drawio-server
    ports:
      - '28080:8080'
    volumes:
      - ./.local/draw.war:/usr/local/tomcat/webapps/drawio.war
    environment:
      - TZ=UTC

My component

 <DrawIoEmbed
          key="draw-view"
          baseUrl="http://localhost:28080/drawio/"
          urlParameters={{
            lightbox: true,
          }}
          xml={xml}
        />

Local drawio installation working fine

Image

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