Skip to content

Commit

Permalink
Redirect fix (#42)
Browse files Browse the repository at this point in the history
* wrong base url

* lets not send to redirect link
  • Loading branch information
rambleraptor authored Oct 18, 2024
1 parent 0414490 commit 7dd47b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/src/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function buildSidebar(aeps: AEP[], groups: any, sidebar: Sidebar): Sidebar {
for (var group of groups.categories) {
response.push({
'label': group.title,
'items': aeps.filter((aep) => aep.category == group.code).sort((a1, a2) => a1.id > a2.id ? 1 : -1).map((aep) => ({label: `${aep.id}. ${aep.title}`, link: aep.slug}))
'items': aeps.filter((aep) => aep.category == group.code).sort((a1, a2) => a1.id > a2.id ? 1 : -1).map((aep) => ({label: `${aep.id}. ${aep.title}`, link: aep.id.toString()}))
})
}

Expand Down

0 comments on commit 7dd47b9

Please sign in to comment.