Removed legacy fallback code in index.html as mentioned in #1262
parent
a6af94b9e3
commit
f8ebafcbb4
|
@ -56,15 +56,6 @@
|
||||||
enableSpaceScript: "{{ENABLE_SPACE_SCRIPT}}" === "true",
|
enableSpaceScript: "{{ENABLE_SPACE_SCRIPT}}" === "true",
|
||||||
readOnly: "{{READ_ONLY}}" === "true",
|
readOnly: "{{READ_ONLY}}" === "true",
|
||||||
};
|
};
|
||||||
// But in case these variables aren't replaced by the server, fall back sync only mode
|
|
||||||
if (window.silverBulletConfig.spaceFolderPath.includes("{{")) {
|
|
||||||
window.silverBulletConfig = {
|
|
||||||
spaceFolderPath: "",
|
|
||||||
syncOnly: true,
|
|
||||||
readOnly: false,
|
|
||||||
enableSpaceScripts: false,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
<link rel="stylesheet" href="/.client/main.css" />
|
<link rel="stylesheet" href="/.client/main.css" />
|
||||||
<style id="custom-styles"></style>
|
<style id="custom-styles"></style>
|
||||||
|
|
Loading…
Reference in New Issue