"403 fixes"
This commit is contained in:
parent
e137a8771b
commit
9ae967e8af
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import UserLink from "$lib/components/UserLink.svelte";
|
||||
import type { PageData } from "./$types";
|
||||
import { userData, auth, user } from "$lib/firebase";
|
||||
import { userData, auth} from "$lib/firebase";
|
||||
import {
|
||||
signInWithPopup,
|
||||
GoogleAuthProvider,
|
||||
|
@ -53,7 +53,7 @@
|
|||
<meta property="og:url" content="https://nmd.mov/{data.username}" />
|
||||
</svelte:head>
|
||||
|
||||
{#if unpublished && data.username != $userData?.username}
|
||||
{#if unpublished == false && data.username != $userData?.username}
|
||||
<div class="card card-body m-auto">
|
||||
<Myerror {username}></Myerror>
|
||||
</div>
|
||||
|
|
|
@ -25,6 +25,6 @@ export const load = (async ({ params }) => {
|
|||
photoURL: data.photoURL,
|
||||
bio: data.bio,
|
||||
links: data.links ?? [],
|
||||
published: Boolean
|
||||
published: data.published
|
||||
}
|
||||
}) satisfies PageLoad;
|
||||
|
|
Loading…
Reference in a new issue