Skip to content

Commit

Permalink
changed api url
Browse files Browse the repository at this point in the history
  • Loading branch information
gneb committed Mar 5, 2023
1 parent 15bc07f commit 26958c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scrpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class Scrpt {
inpt.value = '';
this.btn.disabled = true;
this.blurAll();
let result = await this.makeRequest("POST", `${domain}/answer?name=${this.appName}`, {
let result = await this.makeRequest("POST", `${domain}/api/answer/${this.appName}`, {
question: q
});
result = JSON.parse(result);
Expand Down
2 changes: 1 addition & 1 deletion src/scrpt.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 26958c1

Please sign in to comment.