Tatiana Inama 6 anni fa
parent
commit
4176ecf004
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/App.tsx

+ 1 - 1
src/App.tsx

@@ -91,7 +91,7 @@ const App = () => {
       email: answers.email
     };
     const postRequest = new XMLHttpRequest();
-    postRequest.open('POST', '/backend', true);
+    postRequest.open('POST', '/backend/', true);
     postRequest.setRequestHeader('Content-Type', 'application/json; charset=UTF-8');
     postRequest.send(JSON.stringify(data));
   }