Commit 38826b8
ci(website): enable Preview URLs on the Worker (#4311)
Sets preview_urls = true in wrangler.toml so future wrangler versions upload runs emit a per-version URL (https://pr-NNN-marktext-website.<subdomain>.workers.dev). After this merge, the develop wrangler deploy will push the configuration change to the Worker; subsequent PRs will get a real preview URL in the sticky comment instead of the preview-disabled notice.
Also updates the wrangler.toml comment to point at src/middleware.ts for the www→apex redirect (was previously next.config.ts).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent eac661e commit 38826b8
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | | - | |
15 | | - | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
0 commit comments