diff --git a/to-do-notifications/scripts/todo.js b/to-do-notifications/scripts/todo.js index 2e470f51..8af7778a 100644 --- a/to-do-notifications/scripts/todo.js +++ b/to-do-notifications/scripts/todo.js @@ -309,7 +309,7 @@ window.onload = () => { // Create a notification with the given title function createNotification(title) { // Create and show the notification - const img = '/to-do-notifications/img/icon-128.png'; + const img = '/dom-examples/to-do-notifications/img/icon-128.png'; const text = `HEY! Your task "${title}" is now overdue.`; const notification = new Notification('To do list', { body: text, icon: img });