diff --git a/src/components/GuideFeedback/index.js b/src/components/GuideFeedback/index.js index 579f26a09..aa92056ce 100644 --- a/src/components/GuideFeedback/index.js +++ b/src/components/GuideFeedback/index.js @@ -36,10 +36,10 @@ export default function GuideFeedback() { }; const handleSubmit = () => { if (!turnstileToken) return - fetch("https://automata.srizan.dev/tutorial/feedback", { + fetch("https://automata.srizan.dev/api/tutorial/feedback", { method: "POST", headers: {'Content-Type': 'application/json'}, - body: JSON.stringify({ + body: JSON.stringify({ inputText, feedback, turnstileToken, @@ -130,7 +130,4 @@ export default function GuideFeedback() { ); -} - -// tf did u do seren : - +} \ No newline at end of file