Skip to content

Commit

Permalink
Refs #134485 return text/html instead of plaintext
Browse files Browse the repository at this point in the history
We received html output and we should treat it as such
  • Loading branch information
ichim-david committed Sep 17, 2021
1 parent f40eeb0 commit 2300dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -69,7 +69,7 @@ export default (config) => {
middleware.all(path, function (req, res) {
getAPIResourceWithAuth(req)
.then((resource) => {
res.set('Content-Type', 'text/plain');
res.set('Content-Type', 'text/html');
res.send(resource);
})
.catch((error) => {
Expand Down

0 comments on commit 2300dfe

Please sign in to comment.