Skip to content

Commit

Permalink
pencilblue#1208 corrects issue where themeRoute object exists but pub…
Browse files Browse the repository at this point in the history
…ic content is not available.
  • Loading branch information
brianhyder committed Feb 3, 2017
1 parent 4d02a96 commit 64b2e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/http/request_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ module.exports = function RequestHandlerModule(pb) {
if (err) {

//TODO [1.0] change default content type to JSON and refactor public file serving so it falls inline with other controller functions
self.themeRoute = self.themeRoute || {};
self.themeRoute = self.themeRoute || {};//!!self.themeRoute ? Object.assign({}, self.themeRoute) : {};
self.themeRoute.content_type = 'application/json';
return self.serve404();
}
Expand Down

0 comments on commit 64b2e78

Please sign in to comment.