summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-01-22 20:49:22 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-01-22 20:49:22 -0500
commitb9983d58fd1db62ff3240b6bcfe774b7f8330867 (patch)
treea766e6a5b7be5da982ea9afaf95b136f533761d1
parentbug fixes (diff)
downloadxssbook-b9983d58fd1db62ff3240b6bcfe774b7f8330867.tar.gz
xssbook-b9983d58fd1db62ff3240b6bcfe774b7f8330867.tar.bz2
xssbook-b9983d58fd1db62ff3240b6bcfe774b7f8330867.zip
fix endpoint
-rw-r--r--public/js/api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/api.js b/public/js/api.js
index 05a0906..371ecf3 100644
--- a/public/js/api.js
+++ b/public/js/api.js
@@ -1,4 +1,4 @@
-const endpoint = 'https://xssbook.com'
+const endpoint = 'https://xssbook.com/api'
const request = async (url, body, method) => {
if (method === undefined) method = 'POST'