@@ -61,7 +61,7 @@ let webappTabCheckInterval = null;
6161
6262async function getWebAppSettings ( ) {
6363 try {
64- const tabs = await chrome . tabs . query ( { url : 'https://notes.toolworks.dev /*' } ) ;
64+ const tabs = await chrome . tabs . query ( { url : 'https://trustynotes.app /*' } ) ;
6565 if ( tabs . length === 0 ) {
6666 const result = await chrome . storage . local . get ( [ 'encrypted_notes' ] ) ;
6767 if ( result . encrypted_notes && cryptoService ) {
@@ -265,7 +265,7 @@ async function syncPendingNotes() {
265265 }
266266
267267 console . log ( `Found ${ pendingNotes . length } notes to sync` ) ;
268- const tabs = await chrome . tabs . query ( { url : 'https://notes.toolworks.dev /*' } ) ;
268+ const tabs = await chrome . tabs . query ( { url : 'https://trustynotes.app /*' } ) ;
269269 if ( tabs . length > 0 ) {
270270 const tab = tabs [ 0 ] ;
271271 console . log ( 'Found webapp tab, attempting to sync...' ) ;
@@ -445,7 +445,7 @@ document.addEventListener('DOMContentLoaded', async () => {
445445
446446 openWebappButton . addEventListener ( 'click' , ( ) => {
447447 chrome . tabs . create ( {
448- url : 'https://notes.toolworks.dev '
448+ url : 'https://trustynotes.app '
449449 } ) ;
450450 window . close ( ) ;
451451 } ) ;
@@ -505,7 +505,7 @@ chrome.runtime.onMessage.addListener(async (message, sender, sendResponse) => {
505505chrome . tabs . onUpdated . addListener ( async ( tabId , changeInfo , tab ) => {
506506 if ( changeInfo . status === 'complete' &&
507507 tab . url &&
508- tab . url . startsWith ( 'https://notes.toolworks.dev ' ) ) {
508+ tab . url . startsWith ( 'https://trustynotes.app ' ) ) {
509509
510510 console . log ( 'Webapp tab detected, preparing to sync...' ) ;
511511 if ( syncAttemptTimeout ) {
@@ -576,7 +576,7 @@ chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
576576} ) ;
577577
578578async function checkForWebappTab ( ) {
579- const tabs = await chrome . tabs . query ( { url : 'https://notes.toolworks.dev /*' } ) ;
579+ const tabs = await chrome . tabs . query ( { url : 'https://trustynotes.app /*' } ) ;
580580 if ( tabs . length > 0 ) {
581581 console . log ( 'Found webapp tab, attempting sync...' ) ;
582582 await syncPendingNotes ( ) ;
0 commit comments