liquid_feedback_frontend
diff static/js/xhr.js @ 1647:123eb46b4d3e
Fixed base url for fetch request
author | bsw |
---|---|
date | Wed Feb 10 00:30:53 2021 +0100 (2021-02-10) |
parents | 62856200414d |
children | 4188405c2425 |
line diff
1.1 --- a/static/js/xhr.js Wed Feb 10 00:30:17 2021 +0100 1.2 +++ b/static/js/xhr.js Wed Feb 10 00:30:53 2021 +0100 1.3 @@ -19,7 +19,7 @@ 1.4 data.append("issue_id", issueId); 1.5 data.append("interested", interested); 1.6 1.7 - fetch("/lf/interest/xhr_update", { 1.8 + fetch(baseURL + "/interest/xhr_update", { 1.9 method : "POST", 1.10 body: data 1.11 }).then(