Skip to content

Commit

Permalink
adding new version and setting up update for injectHtml
Browse files Browse the repository at this point in the history
  • Loading branch information
mimiMonads committed Jun 1, 2024
1 parent 34d5f93 commit d0adb77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vixeny",
"version": "0.1.0",
"version": "0.1.20",
"description": "A functional router for Bun and Deno",
"main": "main.ts",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/composer/mainComposer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default (
x.path,
o && o.enableLiveReloading
//@ts-ignore
? async (r: Request) => await injectHtml(x.r(r))
? async (r: Request) => await injectHtml()(x.r(r))
: x.r,
false,
] as unknown as RouteTypes
Expand Down

0 comments on commit d0adb77

Please sign in to comment.