fix endpoint

This commit is contained in:
Tyler Murphy 2023-01-22 16:36:25 -05:00
parent cf7e1653cb
commit 901bd25148

View file

@ -1,4 +1,4 @@
const endpoint = 'http://localhost:8080/api' const endpoint = 'https://xssbook.com/api'
const request = async (url, body, method) => { const request = async (url, body, method) => {
if (method === undefined) method = 'POST' if (method === undefined) method = 'POST'