Fix relative links for deployment
parent
bce0c8598a
commit
bf818de3dc
|
@ -30,9 +30,9 @@ function ParsedLink({ children, sect, props }) {
|
|||
}, [props.href]);
|
||||
|
||||
if (folder) {
|
||||
return <a href={`/?§=${folder}&file=${file}`}>{children}</a>;
|
||||
return <a href={`/free-programming-books-search/?§=${folder}&file=${file}`}>{children}</a>;
|
||||
} else {
|
||||
return <a href={`/?file=${file}`}>{children}</a>;
|
||||
return <a href={`/free-programming-books-search/?file=${file}`}>{children}</a>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue