Skip to content

A test of express res.download functionality using parent paths

Notifications You must be signed in to change notification settings

jzabel/express-test-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

express-test-download

A test of express res.download functionality using parent paths

To try it out, edit line 47 in /parent_folder/node/app.js to be the absolute path in your environment to /public/sample-1.jpeg

All node modules required are checked into the source - just run an npm update after cloning.

You will see the cwd as printed on the console is correct, but the page displays an Errror 6 (File not found) error

About

A test of express res.download functionality using parent paths

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published