From 852624efeba9dee3afd0ca913963d431858971a8 Mon Sep 17 00:00:00 2001 From: Sukma Nugraha Date: Sun, 19 Feb 2017 03:13:24 +0700 Subject: [PATCH] Fix for issue #1001: blog feed is now loading on my-dashboard --- app/services/blog.service.js | 3 ++- app/services/jwtInterceptor.service.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/services/blog.service.js b/app/services/blog.service.js index fe632e3d6..0e957855a 100644 --- a/app/services/blog.service.js +++ b/app/services/blog.service.js @@ -19,7 +19,8 @@ import X2JS from 'xml2js' // fetch blog rss feed $http.get(CONSTANTS.BLOG_LOCATION) - .then(function(data) { + .then(function(response) { + var data = response.data // parse the blog rss feed using x2js var parseString = X2JS.parseString parseString(data.trim(), function (err, res) { diff --git a/app/services/jwtInterceptor.service.js b/app/services/jwtInterceptor.service.js index 111840e23..693ec3bc9 100644 --- a/app/services/jwtInterceptor.service.js +++ b/app/services/jwtInterceptor.service.js @@ -38,7 +38,7 @@ import { isTokenExpired, getFreshToken } from 'tc-accounts' function getToken(config) { // skip token for .html - if (config.url.indexOf('.html') > -1) + if (config.url.indexOf('.html') > -1 || config.url === CONSTANTS.BLOG_LOCATION) return null var haveItAddItEndpoints = [ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy