Skip to content

Commit

Permalink
feat: fix annex hrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
PupoSDC committed Feb 6, 2024
1 parent f1f8b75 commit 008cdd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const readAllAnnexesFromFs = async (
const jsonData = JSON.parse(json || "[]") as Annex[];
const annexData = jsonData.map((a) => ({
...a,
href: `/content/${projectName}/media/${a.href}.${a.format}`,
href: `/content/${projectName}/media/${a.id}.${a.format}`,
doc: "",
questions: [],
subjects: [],
Expand Down

0 comments on commit 008cdd1

Please sign in to comment.