Skip to content

Commit

Permalink
Fixed routing
Browse files Browse the repository at this point in the history
  • Loading branch information
elsaperelli committed Sep 18, 2023
1 parent 24cd8d4 commit 8be7818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/ReleaseModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function ReleaseModal({ open = true, onClose, id, resourceType }:

// Conditionally remove the base version if one is present
let location = res.headers.get('Location');
if (location?.substring(0, 4) === '4_0_1') {
if (location?.substring(0, 5) === '4_0_1') {
location = location?.substring(5); // remove 4_0_1 (version)
}

Expand Down

0 comments on commit 8be7818

Please sign in to comment.