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