Fix relative links for deployment

pull/21/head
Brogan Clements 2022-04-22 14:02:06 -04:00
parent bce0c8598a
commit bf818de3dc
1 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@ function ParsedLink({ children, sect, props }) {
}, [props.href]);
if (folder) {
return <a href={`/?&sect=${folder}&file=${file}`}>{children}</a>;
return <a href={`/free-programming-books-search/?&sect=${folder}&file=${file}`}>{children}</a>;
} else {
return <a href={`/?file=${file}`}>{children}</a>;
return <a href={`/free-programming-books-search/?file=${file}`}>{children}</a>;
}
}