File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,13 @@ const setupRedirects = async (publishPath) => {
74
74
const basePathSortFunc = ( a , b ) => {
75
75
if ( a . target . includes ( basePath ) && b . target . includes ( basePath ) ) {
76
76
return 0
77
- } if ( a . target . includes ( basePath ) && ! b . target . includes ( basePath ) ) {
77
+ }
78
+ if ( a . target . includes ( basePath ) && ! b . target . includes ( basePath ) ) {
78
79
return - 1
79
- // } else if (!a.target.includes(basePath) && b.target.includes(basePath)) {
80
- // return 0
81
- }
82
- return 1
83
-
80
+ // } else if (!a.target.includes(basePath) && b.target.includes(basePath)) {
81
+ // return 0
82
+ }
83
+ return 1
84
84
}
85
85
const allRedirects = hasBasePath
86
86
? [ ...sortedStaticRedirects . sort ( basePathSortFunc ) , ...sortedDynamicRedirects . sort ( basePathSortFunc ) ]
You can’t perform that action at this time.
0 commit comments