diff --git a/web/app/common/api.js b/web/app/common/api.js index 3397b116..de15804c 100644 --- a/web/app/common/api.js +++ b/web/app/common/api.js @@ -41,7 +41,7 @@ export const send = ({ text, pid }) => fetcher.post({ }); export const edit = ({ text, id }) => fetcher.put({ - url: `/comment/${id}`, + url: `/comment/${id}?url=${url}`, body: { text, },