Skip to content

Commit

Permalink
remove config (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday authored Sep 12, 2023
1 parent 8f443d4 commit e3e39d5
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 e3e39d5

Please sign in to comment.