mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
fix: change GuideFeedback api endpoint
This commit is contained in:
@@ -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() {
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
// tf did u do seren :
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user