PreConfig.js 795 B

12345678910111213
  1. /**
  2. * Copyright (c) 2006-2020, JGraph Ltd
  3. * Copyright (c) 2006-2020, draw.io AG
  4. */
  5. // Overrides of global vars need to be pre-loaded
  6. window.EXPORT_URL = 'REPLACE_WITH_YOUR_IMAGE_SERVER';
  7. window.PLANT_URL = 'REPLACE_WITH_YOUR_PLANTUML_SERVER';
  8. window.DRAWIO_BASE_URL = null; // Replace with path to base of deployment, e.g. https://www.example.com/folder
  9. window.DRAWIO_VIEWER_URL = null; // Replace your path to the viewer js, e.g. https://www.example.com/js/viewer.min.js
  10. window.DRAWIO_LIGHTBOX_URL = null; // Replace with your lightbox URL, eg. https://www.example.com
  11. window.DRAW_MATH_URL = 'math/es5';
  12. window.DRAWIO_CONFIG = null; // Replace with your custom draw.io configurations. For more details, https://www.diagrams.net/doc/faq/configure-diagram-editor
  13. urlParams['sync'] = 'manual';