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 = [
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: