Route Callback
Accidental call to onRoute
console logging request location
Routing paths and commands
Returns full path name from route function
Extra ;
Removed second response.end(). Loads correctly.
Reading Directory in Server
Trying to send files as buffer
Changed fs.readFile to fs.createReadStream
Using fs.createReadStream rather than fs.readFile
Actually added fs.createFileStream
Changed stream path
Converted files arrray to String to send to buffer.