mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-25 11:22:28 +00:00
ReqKey check
This commit is contained in:
parent
94f4f74892
commit
5c3cf0a392
2 changed files with 3 additions and 2 deletions
|
@ -428,6 +428,7 @@
|
|||
data.append("api_key", localStorage.getItem("api_key") || "");
|
||||
|
||||
request.open('POST', BaseUrl + '/translate', true);
|
||||
request.setRequestHeader("ReqKey", "1");
|
||||
|
||||
request.onload = function() {
|
||||
try{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue