Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

Fix JIRA API paths - remove duplicate /api prefix

Adam Eivyd7d19fb25a57
diff --git a/client/src/pages/Jira.jsx b/client/src/pages/Jira.jsx
index 5a2419dadd..9eebd0acb1 100644
--- a/client/src/pages/Jira.jsx
+++ b/client/src/pages/Jira.jsx
@@ -28,7 +28,7 @@ export default function Jira() {
const loadInstances = async () => {
try {
setLoading(true);
- const response = await api.get('/api/jira/instances');
+ const response = await api.get('/jira/instances');
setInstances(response.data.instances || {});
} catch (error) {
console.error('Failed to load JIRA instances:', error);
@@ -91,7 +91,7 @@ export default function Jira() {
};
console.log('Saving JIRA instance:', payload);
- await api.post('/api/jira/instances', payload);
+ await api.post('/jira/instances', payload);
toast.success(`JIRA instance "${payload.name}" saved successfully`);
await loadInstances();
@@ -114,7 +114,7 @@ export default function Jira() {
setDeleteConfirm(null);
try {
- await api.delete(`/api/jira/instances/${instanceId}`);
+ await api.delete(`/jira/instances/${instanceId}`);
toast.success(`JIRA instance "${instanceId}" deleted`);
await loadInstances();
} catch (error) {
@@ -132,7 +132,7 @@ export default function Jira() {
setTestingInstance(instanceId);
setTestResult(null);
- const response = await api.post(`/api/jira/instances/${instanceId}/test`);
+ const response = await api.post(`/jira/instances/${instanceId}/test`);
setTestResult(response.data);
if (response.data.success) {