Fixed default engine issue.

Simple typo leads to "Error: No default engine was specified and no extension was provided." during request handling in middleware.