Update API Keys and fix frontend bugs

This commit is contained in:
2026-09-23 11:05:25 +05:30
parent 40a5307d3a
commit 61403ceb9b
28 changed files with 1594 additions and 1379 deletions
+4 -1
View File
@@ -132,6 +132,9 @@ exports.analyzeImage = async (req, res) => {
} catch (error) {
console.error('Error analyzing image:', error.response ? JSON.stringify(error.response.data) : error.message);
res.status(500).json({ error: error.message || 'Failed to analyze image' });
res.status(500).json({
error: error.message || 'Failed to analyze image',
details: error.response ? error.response.data : null
});
}
};