refactor: replace axios with native HTTP calls#9360
refactor: replace axios with native HTTP calls#9360adiologydev wants to merge 1 commit intocoollabsio:nextfrom
Conversation
Remove axios dependency from both root and coolify-realtime packages. Terminal server now uses an httpPost helper built on Node's http module (Soketi image is locked to Node 16 which lacks global fetch). Updated public/js/echo.js from laravel-echo v1.15.3 to v2.2.7. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@coderabbitai review? |
|
✅ Actions performedReview triggered.
|
|
@claude review |
|
Caution Review failedFailed to post review comments WalkthroughThis pull request removes the axios HTTP client library from both the root and realtime service dependencies, and replaces its usage in the terminal server with a custom ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Changes
Remove axios dependency from both root and coolify-realtime packages. Terminal server now uses an httpPost helper built on Node's http module (Soketi image is locked to Node 16 which lacks global fetch). Updated public/js/echo.js from laravel-echo v1.15.3 to v2.2.7 (matches package.json).
Note: We should migrate to Laravel Reverb, socketi last updated 4 years ago.
Issues
Category
AI Assistance
If AI was used:
Testing
Ran
spin upand tested terminal to make sure realtime worksContributor Agreement
Important