mirror of
https://github.com/WhoIsFishie/Fishie-Honesty-UI.git
synced 2025-02-22 01:02:15 +00:00
hm
This commit is contained in:
parent
5194afe08d
commit
e7e2110586
@ -8,6 +8,7 @@
|
||||
// import IframeLoader from "svelte-iframe-loader";
|
||||
|
||||
// const iframeSrc = "https://telegram.org/js/telegram-widget.js?22";
|
||||
const apiDomain = 'https://honestyapi.sar.sh';
|
||||
</script>
|
||||
|
||||
<section>
|
||||
@ -35,7 +36,7 @@
|
||||
requestAccess={true}
|
||||
on:auth={async (auth) => {
|
||||
console.log(auth.detail);
|
||||
const login = await fetch('https://honestyapi.sar.sh/api/Auth/logIn', {
|
||||
const login = await fetch(apiDomain + '/api/Auth/logIn', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
|
Loading…
x
Reference in New Issue
Block a user