PreConfig.js 828 B

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