fix: send new welcome notes json index

This commit is contained in:
thecodrr
2021-07-03 12:42:37 +05:00
parent c2f3ec1b0d
commit 78b334fd75
3 changed files with 11 additions and 10 deletions

View File

@@ -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
}
]

View File

@@ -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
}
]

View File

@@ -45,7 +45,7 @@ function setAppHydrated() {
} }
async function loadDefaultNotes(db) { async function loadDefaultNotes(db) {
const notes = await http.get("/notes/index.json"); const notes = await http.get("/notes/index_v14.json");
if (!notes) return; if (!notes) return;
let autoOpenId; let autoOpenId;
const hash = getCurrentHash().replaceAll("#", ""); const hash = getCurrentHash().replaceAll("#", "");