8 lines
182 B
JavaScript
8 lines
182 B
JavaScript
import express from 'express';
|
|
import { chatWithAI } from '../controllers/chatController.js';
|
|
|
|
const router = express.Router();
|
|
router.post('/', chatWithAI);
|
|
|
|
export default router;
|