Commit 3e1e9e0
fix(www): reverse proxy /tanstack/* to v1 preview during alpha (#1812)
### Summary
This PR adds a reverse proxy rewrite in `apps/www/next.config.ts`
routing `/tanstack/:path*` requests to
`https://arkenv-v1.vercel.app/tanstack/:path*`.
### Why
The official TanStack CLI add-on for ArkEnv is deployed on the `v1`
branch at `https://arkenv-v1.vercel.app/tanstack/info.json`. Because
production docs (`https://arkenv.js.org`) are deployed from `main`
(which flows from `dev`), this rewrite allows
`https://arkenv.js.org/tanstack/info.json` to resolve immediately during
the alpha prerelease phase without URL rot or waiting for the full v1
merge.
Once merged to `dev`, this change can be synced directly to `main` via
`sync-main.yml` (Category 1 doc/infra sync).
**Blocks / Relates to:** #1811 (feat: add official TanStack CLI add-on
for ArkEnv)
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>1 parent a3a779a commit 3e1e9e0
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
82 | 91 | | |
83 | 92 | | |
84 | 93 | | |
| |||
0 commit comments