Closed atridgedcosta closed 9 years ago
https://github.com/bigdatr/bigdatr-startr/blob/master/generators/app/templates/server/_server.js#L43
When server is handling 404's, should not be sending the index html.
A case for this would be if /api/futureModule/testEndpoint didn't exist, do we need to send back html when most likely the expected response is JSON?
/api/futureModule/testEndpoint
resolved in #12
https://github.com/bigdatr/bigdatr-startr/blob/master/generators/app/templates/server/_server.js#L43
When server is handling 404's, should not be sending the index html.
A case for this would be if
/api/futureModule/testEndpoint
didn't exist, do we need to send back html when most likely the expected response is JSON?