Skip to content

Commit 5d84c58

Browse files
Test the /favicon.png forward and pin v2's new edge contract (#2543)
Co-authored-by: Augie Luebbers <9794679+AugusDogus@users.noreply.github.com>
1 parent 28731c8 commit 5d84c58

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎apps/cloud/src/edge/marketing.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,8 @@ describe("isV2MarketingPath", () => {
648648
"/authors/author.png",
649649
"/og-image.png",
650650
"/pattern-graph-paper.svg",
651+
// The logo v2's OAuth client metadata document names; v1 has no such file.
652+
"/favicon.png",
651653
"/docs",
652654
"/docs/",
653655
"/docs/quickstart",

‎apps/cloud/src/edge/v2-edge-contract.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"/authors/*",
3333
"/og-image.png",
3434
"/pattern-graph-paper.svg",
35+
"/favicon.png",
3536
"/.well-known/agent-skills/*",
3637
"/api/00e2e1f082a6ef17/*",
3738
"/api/fd6fab1fbb4883e1/submit"
@@ -62,6 +63,11 @@
6263
"target": "/oauth/client-metadata.json",
6364
"forwards": true
6465
},
66+
{
67+
"method": "GET",
68+
"target": "/favicon.png",
69+
"forwards": true
70+
},
6571
{
6672
"method": "GET",
6773
"target": "/git/acme/site.git/info/refs?service=git-upload-pack",

0 commit comments

Comments
 (0)