fix the endpoint for the post request

This commit is contained in:
Oliver Akins 2022-02-17 11:57:07 -06:00
parent 3cb6f97610
commit 94daa6e4eb
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -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);