Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Fix for issue #1001 #1039

Merged
merged 1 commit into from
Feb 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/services/blog.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion app/services/jwtInterceptor.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down