summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-01-22 16:36:25 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-01-22 16:36:25 -0500
commit901bd25148bcc19db3d140611f37a4c69f840b50 (patch)
tree92393721d064a18aacaed755c043481af2cabafc
parentswitch to auto reload console (diff)
downloadxssbook-901bd25148bcc19db3d140611f37a4c69f840b50.tar.gz
xssbook-901bd25148bcc19db3d140611f37a4c69f840b50.tar.bz2
xssbook-901bd25148bcc19db3d140611f37a4c69f840b50.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 c0ae980..371ecf3 100644
--- a/public/js/api.js
+++ b/public/js/api.js
@@ -1,4 +1,4 @@
-const endpoint = 'http://localhost:8080/api'
+const endpoint = 'https://xssbook.com/api'
const request = async (url, body, method) => {
if (method === undefined) method = 'POST'