Commit b95dbe6
authored
fix: Proxy not picked up on Windows (#85443)
Proxy is not being picked up during prod on Windows. It is because of
two reasons:
1. `isAtConventionLevel` condition was false as the dir was `\\` in
Windows, but was checking with explicit `/`.
2. `page` value passed to `getStaticInfoIncludingLayouts` function was
in `\\proxy` but was expected to be `/proxy`, which is later used for
`isProxy` condition.
Therefore, the given paths needed to be normalized.
Current behavior:
https://github.com/vercel/next.js/actions/runs/18872127141/job/53853048061?pr=85443#step:34:160
Closes NEXT-47561 parent b0837e0 commit b95dbe6
File tree
3 files changed
+10
-7
lines changed- .github/workflows
- packages/next/src
- build
- server
3 files changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| 767 | + | |
767 | 768 | | |
768 | 769 | | |
769 | 770 | | |
| |||
821 | 822 | | |
822 | 823 | | |
823 | 824 | | |
824 | | - | |
| 825 | + | |
| 826 | + | |
825 | 827 | | |
826 | 828 | | |
827 | 829 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1215 | 1215 | | |
1216 | 1216 | | |
1217 | 1217 | | |
1218 | | - | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
1219 | 1222 | | |
1220 | 1223 | | |
1221 | 1224 | | |
| |||
2610 | 2613 | | |
2611 | 2614 | | |
2612 | 2615 | | |
2613 | | - | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
2614 | 2619 | | |
2615 | 2620 | | |
2616 | 2621 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1574 | 1574 | | |
1575 | 1575 | | |
1576 | 1576 | | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | | - | |
1581 | 1577 | | |
1582 | 1578 | | |
1583 | 1579 | | |
| |||
0 commit comments