Commit eff33ec
committed
feat: update WebSocket request handling to use containerFetch
- Enhanced the request processing logic to utilize the switchPort function for WebSocket connections, aligning with the @cloudflare/containers approach.
- Simplified the request creation by directly using the original request and preserving headers, eliminating the need for manual URL construction.1 parent da04b97 commit eff33ec
1 file changed
Lines changed: 5 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
888 | 882 | | |
889 | 883 | | |
890 | 884 | | |
| |||
0 commit comments