diff --git a/webgoat-lessons/jwt/src/main/resources/js/jwt-voting.js b/webgoat-lessons/jwt/src/main/resources/js/jwt-voting.js index 994ef7d3a..55f95b8a0 100644 --- a/webgoat-lessons/jwt/src/main/resources/js/jwt-voting.js +++ b/webgoat-lessons/jwt/src/main/resources/js/jwt-voting.js @@ -76,7 +76,7 @@ function vote(title) { } else { $.ajax({ type: 'POST', - url: 'JWT/votings/vote/' + title + url: 'JWT/votings/' + title }).then( function () { getVotings();