Skip to content

Commit ca751fb

Browse files
authored
fix: fix og image link (#1141)
1 parent a1cc8c7 commit ca751fb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/root.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ let default = () => {
5858
<link rel="stylesheet" href={utilsCss} />
5959
<link rel="icon" href="/favicon.ico" />
6060
<Links />
61-
<Meta />
61+
<ReactRouter.Meta />
6262
<meta
6363
name="viewport"
6464
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, minimal-ui"

src/components/Meta.res

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ let make = (
1212
~ogSiteName=siteName,
1313
~ogDescription=description,
1414
~ogTitle=?,
15-
~ogImage=Env.root_url ++ "Art-3-rescript-launch.jpg",
15+
~ogImage="/Art-3-rescript-launch.jpg",
1616
) => {
17-
let ogImage = Env.root_url ++ ogImage
18-
1917
let title = switch title {
2018
| None
2119
| Some("") => siteName

0 commit comments

Comments
 (0)