Kitura/Kitura-Sample

Route "/docs" not properly rendering markdown documents.

Closed this issue · 1 comments

So this issue is causes because the route is matched by the Markdown routes but then later on It is matched by the Static file server resulting in the response being overwritten and the static file being served instead of the rendered file. This could be solved either by calling response.end() after you render or changing the static file server so it wont serve routes from the Views folder