Skip to content

Commit

Permalink
fix #75
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Dec 3, 2024
1 parent 8c1e679 commit 4d44577
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": "ultimate-express",
"version": "1.3.16",
"version": "1.3.17",
"description": "The Ultimate Express. Fastest http server with full Express compatibility, based on uWebSockets.",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function canBeOptimized(pattern) {
function acceptParams(str) {
const length = str.length;
const colonIndex = str.indexOf(';');
const index = colonIndex === -1 ? length : colonIndex;
let index = colonIndex === -1 ? length : colonIndex;
const ret = { value: str.slice(0, index).trim(), quality: 1, params: {} };

while (index < length) {
Expand Down

0 comments on commit 4d44577

Please sign in to comment.