Wednesday 1 February 2017

I'm new to Node / Express and I'm having issues with routing.

All I want to do is render index.html when this route '/:uuid' is hit. This is my code:http://ift.tt/2kTuUK1 app.get() for that route is on line 50. The problem I'm having is that the server responds with the contents of index.html for every requested file. In other words:http://ift.tt/2jxhjLu if I'm overlooking something really obvious. Thanks in advance for any help!

Submitted February 01, 2017 at 08:58PM by mackattack_

No comments:

Post a Comment