From 09fa3cbb228fbe6a001e5d816d08ef89f8812a2c Mon Sep 17 00:00:00 2001 From: Wes Garrison Date: Fri, 31 Jan 2025 09:43:25 -0600 Subject: [PATCH] Update image path to folder nested under dom-examples --- to-do-notifications/scripts/todo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });