Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
added:
- Add UK Universal Credit rebalancing analysis dashboard at /uk/uc-rebalancing
- Add UK fuel duty rise cancellation analysis dashboard at /uk/cancelling-fuel-duty-rise
changed:
- Proxy UK Python package docs at /uk/python and UK API docs at /uk/api so the country-parameterized "Python" and "API" nav links work on UK pages
20 changes: 20 additions & 0 deletions website/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ const nextConfig: NextConfig = {
destination:
"https://household-api-docs-policy-engine.vercel.app/us/api/:path*",
},
{
source: "/uk/api",
destination:
"https://household-api-docs-policy-engine.vercel.app/uk/api/",
},
{
source: "/uk/api/:path*",
destination:
"https://household-api-docs-policy-engine.vercel.app/uk/api/:path*",
},
// Python client docs — same household-api-docs deployment, served at top-level /us/python
{
source: "/us/python",
Expand All @@ -148,6 +158,16 @@ const nextConfig: NextConfig = {
destination:
"https://household-api-docs-policy-engine.vercel.app/us/python/:path*",
},
{
source: "/uk/python",
destination:
"https://household-api-docs-policy-engine.vercel.app/uk/python",
},
{
source: "/uk/python/:path*",
destination:
"https://household-api-docs-policy-engine.vercel.app/uk/python/:path*",
},
// Zone asset proxy — API docs uses assetPrefix: '/_zones/household-api-docs'
{
source: "/_zones/household-api-docs/:path*",
Expand Down
Loading