Skip to content

Commit

Permalink
fix: added url to the runtime handlebars compilation context
Browse files Browse the repository at this point in the history
  • Loading branch information
jairmilanes committed Nov 4, 2022
1 parent 864f4c9 commit aad915f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/route-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class RouteManager {

this.app.get(route, (req, res) => {
res.status(200).render(view, {
url: req.url,
query: { ...req.query },
params: { ...req.params },
secure: req.secure,
Expand Down

0 comments on commit aad915f

Please sign in to comment.