Commit ff318c9
authored
fix: use direct VAADIN path for push script URL (#22827)
The correct approach is to use the direct VAADIN/... path without any
navigation prefix. This works because the <base href> already points
to the servlet root, so relative URLs resolve correctly to
{context-path}/{servlet-path}/VAADIN/...
Fixes #228261 parent a18581f commit ff318c9
File tree
3 files changed
+12
-12
lines changed- flow-server/src
- main/java/com/vaadin/flow/server
- communication
- test/java/com/vaadin/flow/server/communication
3 files changed
+12
-12
lines changedLines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1509 | 1509 | | |
1510 | 1510 | | |
1511 | 1511 | | |
1512 | | - | |
1513 | | - | |
1514 | 1512 | | |
| 1513 | + | |
1515 | 1514 | | |
1516 | 1515 | | |
1517 | | - | |
| 1516 | + | |
1518 | 1517 | | |
1519 | | - | |
| 1518 | + | |
1520 | 1519 | | |
1521 | 1520 | | |
1522 | | - | |
1523 | | - | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
1524 | 1524 | | |
1525 | 1525 | | |
1526 | 1526 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
450 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| |||
flow-server/src/test/java/com/vaadin/flow/server/communication/JavaScriptBootstrapHandlerTest.java
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
0 commit comments