Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Commit

Permalink
fix(router): dynamic route not working on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
axmad386 committed Aug 25, 2022
1 parent d4beebc commit e265c64
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": "lunox",
"version": "1.7.0",
"version": "1.7.1",
"description": "Laravel-Flavoured NodeJs framework",
"bin": {
"lunox": "./bin/lunox.cjs"
Expand Down
2 changes: 1 addition & 1 deletion src/Foundation/Http/Kernel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class Kernel {
);

server[route.method](
path.join(route.uri),
route.uri,
(req, res, next) => {
((req as any)._httpRequest as Request).setRouter(route);
return next();
Expand Down

0 comments on commit e265c64

Please sign in to comment.