Removed legacy fallback code in index.html as mentioned in #1262

pull/1158/merge
Zef Hemel 2025-02-25 20:05:38 +01:00
parent a6af94b9e3
commit f8ebafcbb4
1 changed files with 0 additions and 9 deletions

View File

@ -56,15 +56,6 @@
enableSpaceScript: "{{ENABLE_SPACE_SCRIPT}}" === "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>
<link rel="stylesheet" href="/.client/main.css" />
<style id="custom-styles"></style>