Commit 9857f47
Add webpack dev server proxy to Grails backend (#63)
Closes #62
Companion [PR in
hoist-react](xh/hoist-react#4313) for
`WebSocketService` compatibility (merged in
xh/hoist-react@708b904)
## Test plan
- [ ] Start toolbox with `yarn start` — verify startup log shows proxy
target, client apps load, API calls succeed through `/api/...`, no CORS
errors
- [ ] Check Network tab shows same-origin requests to
`localhost:3000/api/...`
- [ ] Verify deep client routes (e.g. `/app/grids`) still work via
`historyApiFallback`
- [ ] Test with explicit `baseUrl: '//localhost:8080/'` override to
confirm old behavior still works
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Anselm McClain <atm@xh.io>1 parent 274d127 commit 9857f47
2 files changed
Lines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
3 | 15 | | |
4 | 16 | | |
5 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
741 | 756 | | |
742 | 757 | | |
743 | 758 | | |
| |||
0 commit comments