-
Notifications
You must be signed in to change notification settings - Fork 155
Description
Description
When clicking the Deploy button in the client/UI, a POST request is sent to the /agents endpoint.
However, the backend server only supports GET and OPTIONS methods for this route. As a result, the request fails and deployment cannot proceed.
Steps to Reproduce
Start the backend server (npm run server).
Open the client/UI.
Click the Deploy button.
Observe the network request in DevTools.
Expected Behavior
The backend should accept a POST /agents request (to create or trigger deployment).
Alternatively, the frontend should use the correct method if deployment is supposed to be handled via GET.
Actual Behavior
Frontend sends:POST /agents
Server responds:405 Method Not Allowed
Impact
Deploy button is currently broken.
Users cannot deploy agents via the UI.