var express = require('express');
var url = require('url');
var app = express();
app.listen(80);
app.get('/image', function (req, res) {
  res.sendfile('arch.jpg', 
               { maxAge: 24*60*60*1000,
                 root: './views/'},
               function(err){
    if (err){
      console.log("Błąd");
    } else {
      console.log("Powodzenie");
    }
  });
});