summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'