From 94daa6e4ebf7060d06e592f124dc9c15358b7db8 Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Thu, 17 Feb 2022 11:57:07 -0600 Subject: [PATCH] fix the endpoint for the post request --- site/czechgamesedition.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/czechgamesedition.html b/site/czechgamesedition.html index 974ae96..9267b77 100644 --- a/site/czechgamesedition.html +++ b/site/czechgamesedition.html @@ -76,7 +76,7 @@ let app = new Vue({ methods: { async start_poll(poll_data) { try { - let r = await axios.post("/twitch/czechgamesedition/poll", poll_data); + let r = await axios.post("/polls/twitch/czechgamesedition/poll", poll_data); alert("Poll should've been created successfully."); } catch (err) { console.error(err);