I have a directory structure like this :
    server
       code
         app.js
         web
           html
               index.html
           css
               index.css
           scripts
               index.js
My app.js code is trying to serve the html file index.html but shows errors this is the code :
    app.get('/web',function(req,res) 
    {
        res.sendFile('../web/html/index.html');
    })
What path to pass to sendFile() and make it work appropriately so that the script file and css are also found by the html file when it runs ?
I'm new to node.js.