Saturday, 13 May 2017

Displaying links from array (node.js)

I set up an express-server in node.js. It should send links as a response that link to the directories in a specified folder. That part works, I get an array with all my folder like that:

["randomfolder","test123"]

Now I want to convert that array to something like that:

currentWebAdress/folderfromarray1<br>currentWebAdress/folderfromarray1<br>currentWebAdress/folderfromarray1

and then send it as a response.

How would I do such a thing?



via Mining_Pickaxe

No comments:

Post a Comment