Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 148 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://openapi.vercel.sh/vercel.json",
"headers": [
{
"source": "_app/immutable/workers/(.*)",
"source": "/_app/immutable/workers/:path*",
"headers": [
{
"key": "cross-origin-opener-policy",
Expand All @@ -17,6 +17,153 @@
"value": "cross-origin"
}
]
},
{
"source": "/src",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
},
{
"source": "/src/:path*",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
},
{
"source": "/tutorial/lib",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
},
{
"source": "/tutorial/lib/:path*",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
},
{
"source": "/tutorial/types.ts",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
},
{
"source": "/tutorial/web3-provider.ts",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
},
{
"source": "/package.json",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
},
{
"source": "/tsconfig.json",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
},
{
"source": "/vite.config.ts",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
},
{
"source": "/.gitignore",
"headers": [
{
"key": "X-Robots-Tag",
"value": "noindex, nofollow, noarchive"
}
]
}
],
"redirects": [
{
"source": "/tutorial/getting-started-order",
"destination": "/tutorial/getting-started",
"permanent": true
Comment thread
alfetopito marked this conversation as resolved.
},
{
"source": "/tutorial/create-pre-signed-order",
"destination": "/tutorial/getting-started",
"permanent": true
},
{
"source": "/tutorial/create-order-app-data",
"destination": "/tutorial/getting-started",
"permanent": true
},
{
"source": "/tutorial/create-eth-flow",
"destination": "/tutorial/getting-started",
"permanent": true
},
{
"source": "/tutorial/simple-app-data",
"destination": "/tutorial/getting-started",
"permanent": true
},
{
"source": "/tutorial/cancel-eth-flow",
"destination": "/tutorial/cancel-on-chain-order",
"permanent": true
},
{
"source": "/tutorial/approve-sell-token-order",
"destination": "/tutorial/approve-cow-protocol",
"permanent": true
},
{
"source": "/tutorial/orderbook-upload-app-data",
"destination": "/tutorial/getting-started",
"permanent": true
},
{
"source": "/tutorial/view-app-data",
"destination": "/tutorial/getting-started",
"permanent": true
},
{
"source": "/tutorial/sign-order",
"destination": "/tutorial/submit-order",
"permanent": true
},
{
"source": "/tutorial/cancel-pre-signed-order",
"destination": "/tutorial/getting-started",
"permanent": true
}
Comment on lines +112 to 167
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Redirect destinations don't match PR description.

The PR description states that these 11 tutorial paths should redirect to https://docs.cow.fi/cow-protocol/tutorials/building, but the implementation redirects to internal /tutorial/* paths (e.g., /tutorial/getting-started, /tutorial/submit-order).

Please clarify the intended behavior:

  • If redirects should go to the external docs site, update the destinations to use the full URL.
  • If internal redirects are correct, update the PR description to reflect the actual behavior.

]
}