feat(dashboard): consolidate /api/git-commit into /api/eco/git-commit

This commit is contained in:
2026-04-21 07:17:11 +00:00
parent e0abe5cdfc
commit 0ac0f3b907
3 changed files with 1 additions and 29 deletions

View File

@@ -1364,7 +1364,7 @@
if (!confirm('Fac commit și push la toate modificările?')) return;
showToast('Se execută commit...', 'info');
try {
const response = await fetch('/echo/api/git-commit', { method: 'POST' });
const response = await fetch('/echo/api/eco/git-commit', { method: 'POST' });
const result = await response.json();
if (result.success) {
showToast('Commit reușit: ' + (result.files || 0) + ' fișiere', 'success');