From 63b84d3724bd91a52675d3eb12aed8c5091fab05 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Wed, 8 Mar 2017 17:58:22 +0000 Subject: [PATCH] don't add /blog to the start of blog urls in annoucements also up timeout --- services/web/app/coffee/Features/Blog/BlogHandler.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/web/app/coffee/Features/Blog/BlogHandler.coffee b/services/web/app/coffee/Features/Blog/BlogHandler.coffee index 6f8f41b5fd..c3fd33b8eb 100644 --- a/services/web/app/coffee/Features/Blog/BlogHandler.coffee +++ b/services/web/app/coffee/Features/Blog/BlogHandler.coffee @@ -10,7 +10,7 @@ module.exports = BlogHandler = opts = url:blogUrl json:true - timeout:500 + timeout:1000 request.get opts, (err, res, announcements)-> if err? return callback err @@ -18,7 +18,6 @@ module.exports = BlogHandler = return callback("blog announcement returned non 200") logger.log announcementsLength: announcements?.length, "announcements returned" announcements = _.map announcements, (announcement)-> - announcement.url = "/blog#{announcement.url}" announcement.date = new Date(announcement.date) return announcement callback(err, announcements)