Update frontend/src/App.js
Browse files- frontend/src/App.js +1 -1
frontend/src/App.js
CHANGED
@@ -105,7 +105,7 @@ function App() {
|
|
105 |
|
106 |
try {
|
107 |
// Enregistrer la nouvelle conversation dans MongoDB
|
108 |
-
const response = await fetch('
|
109 |
method: 'POST',
|
110 |
headers: {
|
111 |
'Content-Type': 'application/json',
|
|
|
105 |
|
106 |
try {
|
107 |
// Enregistrer la nouvelle conversation dans MongoDB
|
108 |
+
const response = await fetch('/api/conversations', {
|
109 |
method: 'POST',
|
110 |
headers: {
|
111 |
'Content-Type': 'application/json',
|