Skip to content

Commit 705f030

Browse files
committed
fix: absolute links in news items
1 parent 58e51a0 commit 705f030

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/NewsSliderDataWrapper.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const localNews = (
1616
.map((item) => ({
1717
...item.data,
1818
id: item.id,
19-
target: baseUrl + "/" + localeFromUrl + "/" + item.data.target,
19+
target: item.data.target,
2020
}))
2121
.sort((a, b) => (b?.order || 0) - (a?.order || 0));
2222
---

0 commit comments

Comments
 (0)