can't even test without pushing to prod

This commit is contained in:
WovenCoast 2023-04-16 13:04:40 +05:00
parent 500433e6f7
commit c20a3bd7a3
No known key found for this signature in database
GPG Key ID: 0483193430BBC0FC

View File

@ -22,7 +22,7 @@
<div class="relative mx-auto h-10 w-72"> <div class="relative mx-auto h-10 w-72">
<div class="absolute left-0 top-0 mx-auto inset-0 -z-50 w-5 h-auto"> <div class="absolute left-0 top-0 mx-auto inset-0 -z-50 w-5 h-auto">
<div class="inline-flex items-center my-auto space-x-2 animate-pulse"> <div class="inline-flex items-center space-x-2 animate-pulse">
<div class="w-4 h-4 rounded-full bg-gray-400" /> <div class="w-4 h-4 rounded-full bg-gray-400" />
<div class="w-4 h-4 rounded-full bg-gray-400" /> <div class="w-4 h-4 rounded-full bg-gray-400" />
<div class="w-4 h-4 rounded-full bg-gray-400" /> <div class="w-4 h-4 rounded-full bg-gray-400" />
@ -33,8 +33,16 @@
size="large" size="large"
username="Fishie_Honesty_bot" username="Fishie_Honesty_bot"
requestAccess={true} requestAccess={true}
on:auth={(...args) => { on:auth={async (auth) => {
console.log(args); console.log(auth.detail);
const login = await fetch('/api/Auth/logIn', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(auth.detail)
});
console.log(login);
}} }}
/> />
</div> </div>