minor fixes

This commit is contained in:
ammarahm-ed
2020-12-31 23:11:13 +05:00
parent 5a618d8f68
commit 344d851d04
2 changed files with 5 additions and 3 deletions

View File

@@ -289,6 +289,7 @@ export const ActionSheetComponent = ({
await db.notebooks.notebook(note.id).pin();
}
localRefresh(item.type);
close();
},
close: false,
check: true,
@@ -308,6 +309,7 @@ export const ActionSheetComponent = ({
dispatch({type: Actions.FAVORITES});
sendNoteEditedEvent(note.id, false, true);
localRefresh(item.type, true);
close();
},
close: false,
check: true,

View File

@@ -13,7 +13,7 @@ export const db = new Database(
//"https://api.notesnook.com"
db.host({
API_HOST: 'http://192.168.10.10:5264',
AUTH_HOST: 'http://192.168.10.10:8264',
SSE_HOST: 'http://192.168.10.10:7264',
API_HOST: 'https://192.168.10.5:5264',
AUTH_HOST: 'https://192.168.10.5:8264',
SSE_HOST: 'https://192.168.10.5:7264',
});