Skip to content

Commit

Permalink
Merge pull request #30 from DIG-Network/release/v0.0.1-alpha.33
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.33
  • Loading branch information
MichaelTaylor3D authored Sep 18, 2024
2 parents 0600f3c + ee987a7 commit a683a81
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.0.1-alpha.33](https://github.com/DIG-Network/dig-content-server/compare/v0.0.1-alpha.32...v0.0.1-alpha.33) (2024-09-18)


### Bug Fixes

* duplicate path part ([fb1f26f](https://github.com/DIG-Network/dig-content-server/commit/fb1f26f779b15a9da13fe90a8a0d5cec87659c3d))

### [0.0.1-alpha.32](https://github.com/DIG-Network/dig-content-server/compare/v0.0.1-alpha.31...v0.0.1-alpha.32) (2024-09-18)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dig-content-server",
"version": "0.0.1-alpha.32",
"version": "0.0.1-alpha.33",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
7 changes: 6 additions & 1 deletion src/middleware/parseUdi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ function removeDuplicatePathPart(path: string): string {
}
}

const modifiedPath = '/' + parts.join('/');

console.log('Original path:', path);
console.log('Modified path:', modifiedPath);

// Reconstruct the path with a leading slash
return '/' + parts.join('/');
return modifiedPath;
}

export const parseUdi = async (
Expand Down

0 comments on commit a683a81

Please sign in to comment.