From 4a23cc057e2795db8f5ca4150889ee1da4fbcf10 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 2 Apr 2024 16:05:05 +0200 Subject: [PATCH] Rebase besUrl to allow other BesStr API --- Readme.md | 2 +- samples/ckeditor.html | 2 +- samples/index.html | 2 +- service.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index fa4a859..8ad24ef 100644 --- a/Readme.md +++ b/Readme.md @@ -19,7 +19,7 @@ Primer: ... - + ``` diff --git a/samples/ckeditor.html b/samples/ckeditor.html index be4672c..026d43f 100644 --- a/samples/ckeditor.html +++ b/samples/ckeditor.html @@ -5,7 +5,7 @@ CKEditor 5 Example - + diff --git a/samples/index.html b/samples/index.html index dff40e4..b6f96c4 100644 --- a/samples/index.html +++ b/samples/index.html @@ -5,7 +5,7 @@ BesService Example - + diff --git a/service.js b/service.js index 0b2021b..8d84219 100644 --- a/service.js +++ b/service.js @@ -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)