mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
refactor: remove all extra console.logs
This commit is contained in:
@@ -8,6 +8,12 @@ var db;
|
||||
function initializeDatabase() {
|
||||
return import("notes-core/api").then(({ default: Database }) => {
|
||||
db = new Database(StorageInterface, EventSource);
|
||||
db.host({
|
||||
API_HOST: "https://api.notesnook.com",
|
||||
AUTH_HOST: "https://auth.streetwriters.co",
|
||||
SSE_HOST: "https://events.streetwriters.co",
|
||||
});
|
||||
|
||||
return db.init();
|
||||
});
|
||||
}
|
||||
@@ -16,12 +22,6 @@ export { db, initializeDatabase };
|
||||
|
||||
// export const db = new Database(StorageInterface, EventSource);
|
||||
|
||||
// // db.host({
|
||||
// // API_HOST: "https://api.notesnook.com",
|
||||
// // AUTH_HOST: "https://auth.streetwriters.co",
|
||||
// // SSE_HOST: "https://events.streetwriters.co",
|
||||
// // });
|
||||
|
||||
// db.host({
|
||||
// API_HOST: "http://localhost:5264",
|
||||
// AUTH_HOST: "http://localhost:8264",
|
||||
|
||||
Reference in New Issue
Block a user