Skip to content

Commit ababeda

Browse files
authored
Merge pull request topcoder-archive#1039 from gets0ul/issue_1001
Fix for issue topcoder-archive#1001
2 parents b31c65c + 852624e commit ababeda

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/services/blog.service.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ import X2JS from 'xml2js'
1919

2020
// fetch blog rss feed
2121
$http.get(CONSTANTS.BLOG_LOCATION)
22-
.then(function(data) {
22+
.then(function(response) {
23+
var data = response.data
2324
// parse the blog rss feed using x2js
2425
var parseString = X2JS.parseString
2526
parseString(data.trim(), function (err, res) {

app/services/jwtInterceptor.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import { isTokenExpired, getFreshToken } from 'tc-accounts'
3838

3939
function getToken(config) {
4040
// skip token for .html
41-
if (config.url.indexOf('.html') > -1)
41+
if (config.url.indexOf('.html') > -1 || config.url === CONSTANTS.BLOG_LOCATION)
4242
return null
4343

4444
var haveItAddItEndpoints = [

0 commit comments

Comments
 (0)
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