diff --git a/index.js b/index.js index 9f9a460..d6be0f7 100644 --- a/index.js +++ b/index.js @@ -2,12 +2,16 @@ var Express = require('express'); var convert = require('./lib/convert'); var serveStatic = require('serve-static'); var request = require('request'); +var log = console.log; var app = Express(); app.use(serveStatic('static')); app.get('/api/feed',function(req,res){ + // logging + log(req.url); + // get feed url var feedUrl = req.query.url; if (!feedUrl){ diff --git a/static/index.html b/static/index.html index d1595c7..79aaf67 100644 --- a/static/index.html +++ b/static/index.html @@ -1,30 +1,42 @@
-