Monday, 17 April 2017

How do i use absolute path in html while working on node server

I am working on a music app in nodeJS. I want to change the audio tag src attribute to a file outside the working directory of my node app. I recieve the correct absoulte path from the server but the path on changing sends a get request at localhost:3000/path which is not what i wanted.

Any suggestion on how do i do this?



via Praneet Mehta

No comments:

Post a Comment