Rebase besUrl to allow other BesStr API

This commit is contained in:
2024-04-02 16:05:05 +02:00
parent 28eea6eb9d
commit 4a23cc057e
4 changed files with 4 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ class BesService {
language: node.lang ? node.lang : 'sl',
level: 'picky'
}
const request = new Request(besUrl, {
const request = new Request(besUrl + '/check', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams(requestData)