Add AI name/description validation to product editor

This commit is contained in:
2026-02-17 09:54:37 -05:00
parent bae8c575bc
commit c3e09d5fd1
208 changed files with 833 additions and 71901 deletions

View File

@@ -1,22 +0,0 @@
const express = require('express');
const router = express.Router();
const { testConnection } = require('../../scripts/test-prod-connection');
router.get('/test-prod-connection', async (req, res) => {
try {
const productCount = await testConnection();
res.json({
success: true,
message: 'Successfully connected to production database',
productCount
});
} catch (error) {
console.error('Production connection test failed:', error);
res.status(500).json({
success: false,
error: error.message || 'Failed to connect to production database'
});
}
});
module.exports = router;