refactor: remove all extra console.logs

This commit is contained in:
thecodrr
2021-02-20 18:27:15 +05:00
parent 55679d3425
commit 1a5d8241e5
7 changed files with 10 additions and 14 deletions

View File

@@ -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",