Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: send new welcome notes json index

thecodrr78b334fd7543
diff --git a/apps/web/public/notes/index.json b/apps/web/public/notes/index.json
index 41ceb3cd6..fe51488c7 100644
--- a/apps/web/public/notes/index.json
+++ b/apps/web/public/notes/index.json
@@ -1,9 +1 @@
-[
- {
- "title": "Welcome to Notesnook!",
- "headline": "Thank you for checking out Notesnook. We are so glad to have you on board!",
- "webContent": "/notes/welcome-web",
- "mobileContent": "https://app.notesnook.com/notes/welcome-mobile",
- "autoOpen": true
- }
-]
+[]
diff --git a/apps/web/public/notes/index_v14.json b/apps/web/public/notes/index_v14.json
new file mode 100644
index 000000000..41ceb3cd6
--- /dev/null
+++ b/apps/web/public/notes/index_v14.json
@@ -0,0 +1,9 @@
+[
+ {
+ "title": "Welcome to Notesnook!",
+ "headline": "Thank you for checking out Notesnook. We are so glad to have you on board!",
+ "webContent": "/notes/welcome-web",
+ "mobileContent": "https://app.notesnook.com/notes/welcome-mobile",
+ "autoOpen": true
+ }
+]
diff --git a/apps/web/src/common/db.js b/apps/web/src/common/db.js
index fbf32ea52..1d01cc8f3 100644
--- a/apps/web/src/common/db.js
+++ b/apps/web/src/common/db.js
@@ -45,7 +45,7 @@ function setAppHydrated() {
}
async function loadDefaultNotes(db) {
- const notes = await http.get("/notes/index.json");
+ const notes = await http.get("/notes/index_v14.json");
if (!notes) return;
let autoOpenId;
const hash = getCurrentHash().replaceAll("#", "");