From b9983d58fd1db62ff3240b6bcfe774b7f8330867 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sun, 22 Jan 2023 20:49:22 -0500 Subject: [PATCH] fix endpoint --- public/js/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'