:ambulance: karian was right about PUBLIC_URL
Hadrien Froger hadrien@octree.ch
Thu, 23 Jul 2020 17:02:22 +0100
2 files changed,
6 insertions(+),
6 deletions(-)
M
app/public/index.html
→
app/public/index.html
@@ -18,7 +18,7 @@ content="Covoiturez à un événement en proposant une voiture ou en prenant une place."
/> <meta property="og:image" - content="%PUBLIC_URL%/Caroster_Octree_Social.jpg" + content="%REACT_APP_URL%/Caroster_Octree_Social.jpg" /> <meta property="og:image:width" content="1500" /> <meta property="og:image:height" content="843" />@@ -26,14 +26,14 @@ <meta itemprop="name" content="Caroster - Covoiturage de groupe" />
<meta itemprop="url" content="%PUBLIC_URL%" /> <meta itemprop="thumbnailUrl" - content="%PUBLIC_URL%/Caroster_Octree_Social.jpg" + content="%REACT_APP_URL%/Caroster_Octree_Social.jpg" /> - <link rel="image_src" href="%PUBLIC_URL%/Caroster_Octree_Social.jpg" /> - <meta itemprop="image" content="%PUBLIC_URL%/Caroster_Octree_Social.jpg" /> + <link rel="image_src" href="%REACT_APP_URL%/Caroster_Octree_Social.jpg" /> + <meta itemprop="image" content="%REACT_APP_URL%/Caroster_Octree_Social.jpg" /> <meta name="twitter:title" content="Caroster - Covoiturage de groupe" /> <meta name="twitter:image" - content="%PUBLIC_URL%/Caroster_Octree_Social.jpg" + content="%REACT_APP_URL%/Caroster_Octree_Social.jpg" /> <meta name="twitter:url" content="%PUBLIC_URL%" /> <meta name="twitter:card" content="summary" />