From e96707741dade6b025dc5435ab7c30be73628842 Mon Sep 17 00:00:00 2001 From: alaa smadi Date: Thu, 18 Jul 2024 04:47:54 +0300 Subject: [PATCH] fix(db): default feed use a valid default feed url --- control/content/controllers/content.home.controller.js | 2 +- widget/controllers/widget.event.controller.js | 2 +- widget/controllers/widget.feed.controller.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/control/content/controllers/content.home.controller.js b/control/content/controllers/content.home.controller.js index 78fdf94..2e5280c 100644 --- a/control/content/controllers/content.home.controller.js +++ b/control/content/controllers/content.home.controller.js @@ -53,7 +53,7 @@ if (tmrDelay)clearTimeout(tmrDelay); } else { - var dummyData = {url: "https://ical.mac.com/ical/US32Holidays.ics"}; + var dummyData = {url: "https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics"}; ContentHome.data = angular.copy(_data); ContentHome.calUrl = dummyData.url; updateMasterItem(ContentHome.data); diff --git a/widget/controllers/widget.event.controller.js b/widget/controllers/widget.event.controller.js index 3b95a6b..9214788 100644 --- a/widget/controllers/widget.event.controller.js +++ b/widget/controllers/widget.event.controller.js @@ -214,7 +214,7 @@ content: {}, design: {} }; - var dummyData = { url: "http://ical.mac.com/ical/US32Holidays.ics" }; + var dummyData = { url: "https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics" }; WidgetEvent.data.content.feedUrl = dummyData.url; WidgetEvent.data.design.itemDetailsLayout = LAYOUTS.itemDetailsLayout[0].name; getEventDetails(WidgetEvent.data.content.feedUrl); diff --git a/widget/controllers/widget.feed.controller.js b/widget/controllers/widget.feed.controller.js index aac993f..d4d47c2 100644 --- a/widget/controllers/widget.feed.controller.js +++ b/widget/controllers/widget.feed.controller.js @@ -108,7 +108,7 @@ content: {}, design:{} }; - var dummyData = {url: "http://ical.mac.com/ical/US32Holidays.ics"}; + var dummyData = {url: "https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics"}; WidgetFeed.data.content.feedUrl = dummyData.url; WidgetFeed.data.design.itemDetailsLayout= LAYOUTS.itemDetailsLayout[0].name; WidgetFeed.getAllEvents();