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'