Repository navigation
Commit 405bfa3
fix(@angular/build): keep the order of glob entries in the proxy configuration
Glob keys were converted to regular expressions by adding the new key and
deleting the old one, which moved every glob entry to the end of the
object. Since Vite proxies a request with the first entry that matches it,
a glob written before a broader plain key could never be used.
(cherry picked from commit 3871a9d)1 parent 996e47f commit 405bfa3
2 files changed
Lines changed: 39 additions & 10 deletions
File tree
- packages/angular/build/src
- builders/dev-server/tests/options
- utils
Lines changed: 32 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
305 | 333 | | |
306 | 334 | | |
307 | 335 | | |
308 | 336 | | |
309 | 337 | | |
310 | | - | |
311 | | - | |
| 338 | + | |
| 339 | + | |
312 | 340 | | |
313 | | - | |
| 341 | + | |
314 | 342 | | |
315 | 343 | | |
316 | 344 | | |
317 | | - | |
| 345 | + | |
318 | 346 | | |
319 | 347 | | |
320 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
0 commit comments