Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
wip signin
Browse files
src/lib/stores/use-user.ts
CHANGED
@@ -6,7 +6,7 @@ import { env } from "$env/dynamic/public";
|
|
6 |
export const userStore = writable<any>(null);
|
7 |
|
8 |
export const openWindowLogin = async () => {
|
9 |
-
console.log(
|
10 |
if (window.location.host.includes("huggingface.co")) {
|
11 |
console.log("redirecting to public space", env.PUBLIC_SPACE_URL)
|
12 |
window.location.href = env.PUBLIC_SPACE_URL as string;
|
|
|
6 |
export const userStore = writable<any>(null);
|
7 |
|
8 |
export const openWindowLogin = async () => {
|
9 |
+
console.log(window)
|
10 |
if (window.location.host.includes("huggingface.co")) {
|
11 |
console.log("redirecting to public space", env.PUBLIC_SPACE_URL)
|
12 |
window.location.href = env.PUBLIC_SPACE_URL as string;
|