Add a dev mode to facilitate debugging

This commit is contained in:
yflory
2019-01-31 15:27:01 +01:00
parent 07cd0b21b6
commit 4abed38bb1
3 changed files with 13 additions and 1 deletions

View File

@@ -302,6 +302,7 @@ define([
password: password,
channel: secret.channel,
enableSF: localStorage.CryptPad_SF === "1", // TODO to remove when enabled by default
devMode: localStorage.CryptPad_dev === "1",
};
if (window.CryptPad_newSharedFolder) {
additionalPriv.newSharedFolder = window.CryptPad_newSharedFolder;