🐛 répare les liens entre langage v5

pull/424/head
Johan Girod 2018-11-15 13:51:03 +01:00
parent 6104ccdb3f
commit d31e294a4c
1 changed files with 2 additions and 8 deletions

View File

@ -23,15 +23,9 @@ const Footer = ({ colours: { colour } }) => {
(process.env.NODE_ENV === 'production'
? window.location.protocol + '//' + window.location.host
: '') + window.location.pathname
).replace(/^\/$/, '')
).replace(/\/$/, '')
] || []
console.log(
hrefLangLink,
hrefLink,
(process.env.NODE_ENV === 'production'
? window.location.protocol + '//' + window.location.host
: '') + window.location.pathname
)
return (
<div className="footer-container">
<Helmet>