mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
fix: send new welcome notes json index
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
[]
|
||||
|
||||
9
apps/web/public/notes/index_v14.json
Normal file
9
apps/web/public/notes/index_v14.json
Normal 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
|
||||
}
|
||||
]
|
||||
@@ -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("#", "");
|
||||
|
||||
Reference in New Issue
Block a user