fix endpoint
This commit is contained in:
parent
cf7e1653cb
commit
901bd25148
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue