workin on document creation: frontend work
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
async function checkToken(){
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const token = urlParams.get('token');
|
||||
console.log({token:token,params:urlParams});
|
||||
if (token) {
|
||||
const url = `${location.protocol}//${location.host.replace('5173','8080')}/api/user/validate/${token}`;
|
||||
const resp = await fetch(url,{
|
||||
|
||||
Reference in New Issue
Block a user