diff --git a/index.js b/index.js index c773444..e3da73d 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,7 @@ app.get('/', (req, res) => { url = req.query.url; res.header("Access-Control-Allow-Origin", '*'); res.header("Access-Control-Expose-Headers", 'X-Title'); + res.header("Content-Type", 'text/markdown'); if (url && validURL(url)) { read_url(url, res); } else {