Commit bc54d0b1 authored by Damien's avatar Damien
Browse files

Change decrepated url

parent 7b32ff74
......@@ -18,7 +18,7 @@ class ToucanLine extends Component {
return (
<Table.Row>
<Table.Cell >
<a href={`${env.backURL}/toucan/pdf/${this.props.toucan["_id"]}`}>
<a href={`${env.backURL}/toucan/pdf/${this.props.toucan["_id"]}.pdf`}>
<Image
src={`${env.backURL}/toucan/img/${this.props.toucan["_id"]}`}
size="small"
......
......@@ -30,7 +30,7 @@ class AllToucan extends Component {
{this.state.toucans.map( toucan => {
return <ToucanCard
image={`${env.backURL}/toucan/img/${toucan["_id"]}`}
link={`${env.backURL}/toucan/pdf/${toucan["_id"]}`}
link={`${env.backURL}/toucan/pdf/${toucan["_id"]}.pdf`}
header={toucan.title}
date={(new Date(toucan.date).toLocaleDateString())}
key={toucan._id}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment