Skip to content

Commit

Permalink
Update packages/integrations/netlify/src/shared.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Lu <[email protected]>
  • Loading branch information
matthewp and bluwy authored Jan 23, 2023
1 parent 00224f3 commit 1fdc937
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/integrations/netlify/src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,7 @@ function prettify(definitions: RedirectDefinition[]) {
}

// Sort dynamic routes on top
if(a.weight > b.weight) {
return -1;
} else {
return 1;
}
return b.weight - a.weight;
});

let _redirects = '';
Expand Down

0 comments on commit 1fdc937

Please sign in to comment.