Skip to content

Commit

Permalink
Merge pull request #70 from 2color/fix-text
Browse files Browse the repository at this point in the history
fix: text parameter from file
  • Loading branch information
haya14busa authored Jan 21, 2025
2 parents 9c51931 + dcd9b1c commit c3b05d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ run_langtool() {
curl --silent \
--request POST \
--data "${DATA}" \
--data-urlencode "text=$(cat "${FILE}")" \
--data-urlencode "text@${FILE}" \
"${API_ENDPOINT}/v2/check" | \
FILE="${FILE}" tmpl /langtool.tmpl
done
Expand Down

0 comments on commit c3b05d4

Please sign in to comment.