Skip to content

Commit

Permalink
Removed unsupported services, disabled logging, and fixed Google Driv…
Browse files Browse the repository at this point in the history
…e redirect to draw.io
  • Loading branch information
m-mohamedin committed Oct 9, 2019
1 parent 224c761 commit c97720c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 8 additions & 1 deletion self-contained/config/PostConfig.js
Expand Up @@ -7,4 +7,11 @@ window.VSD_CONVERT_URL = null;
window.EMF_CONVERT_URL = '/convert'; //This requires subscription with cloudconvert.com
window.ICONSEARCH_PATH = null;
EditorUi.enablePlantUml = true; //Enables PlantUML
DrawioFile.SYNC = 'none'; //Disable real-time sync
DrawioFile.SYNC = 'none'; //Disable real-time sync
EditorUi.enableLogging = false; //Disable logging

//Treat this domain as a draw.io domain
App.prototype.isDriveDomain = function()
{
return true;
}
6 changes: 6 additions & 0 deletions self-contained/config/PreConfig.js
Expand Up @@ -30,6 +30,12 @@ window.DRAWIO_CONFIG = null; //Replace with your custom draw.io configurations.

//External service configurations. There are other configurations files needed also as follows

//Disable unsupported services
urlParams['db'] = '0'; //dropbox
urlParams['gh'] = '0'; //github
urlParams['gl'] = '0'; //gitlab
urlParams['tr'] = '0'; //trello

/**
* Google Drive
*/
Expand Down

0 comments on commit c97720c

Please sign in to comment.