Skip to content

Commit cf5b3e4

Browse files
Fix playground favicon canonicalization in search (#73)
* fix: canonicalize playground search metadata * ci: allow private-only changes without release
1 parent d0fb554 commit cf5b3e4

4 files changed

Lines changed: 20 additions & 2 deletions

File tree

.changeset/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"linked": [],
1515
"access": "public",
1616
"baseBranch": "main",
17+
"privatePackages": false,
1718
"updateInternalDependencies": "patch",
1819
"ignore": []
1920
}

.changeset/few-foxes-say.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

playground/play.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,17 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Posecode Playground: Write and Preview 3D Human Movement as Text</title>
7-
<link rel="icon" type="image/png" sizes="192x192" href="/favicon-192.png" />
8-
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
7+
<link
8+
rel="icon"
9+
type="image/png"
10+
sizes="192x192"
11+
href="https://www.posecode.org/favicon-192.png"
12+
/>
13+
<link
14+
rel="apple-touch-icon"
15+
sizes="180x180"
16+
href="https://www.posecode.org/apple-touch-icon.png"
17+
/>
918
<meta
1019
name="description"
1120
content="Try Posecode live: paste text from ChatGPT, Claude, or Gemini and watch it animate a 3D figure. Browse a library of movements across fitness, physiotherapy, yoga, and dance."

vercel.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
"buildCommand": "npm run build -w playground",
66
"outputDirectory": "playground/dist",
77
"redirects": [
8+
{
9+
"source": "/:path*",
10+
"has": [{ "type": "host", "value": "posecode.org" }],
11+
"destination": "https://www.posecode.org/:path*",
12+
"permanent": true
13+
},
814
{ "source": "/index.html", "destination": "/", "permanent": true },
915
{ "source": "/play.html", "destination": "/play", "permanent": true },
1016
{ "source": "/for-products.html", "destination": "/for-products", "permanent": true }

0 commit comments

Comments
 (0)