Skip to content

Commit

Permalink
remove config
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Sep 11, 2023
1 parent 8f443d4 commit e6e2d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function fastifyView (fastify, opts, next) {
}

function getRequestedPath (fastify) {
return (fastify && fastify.request) ? fastify.request.routeOptions.config.url : null
return (fastify && fastify.request) ? fastify.request.routeOptions.url : null
}
// Gets template as string (or precompiled for Handlebars)
// from LRU cache or filesystem.
Expand Down

0 comments on commit e6e2d10

Please sign in to comment.