mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Passing icon.
This commit is contained in:
parent
f84f2ecbe8
commit
dc121abb2a
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { superValidate } from 'sveltekit-superforms/server';
|
||||
import { search_schema } from '$lib/zodValidation';
|
||||
import type { MetaTagsProps } from 'svelte-meta-tags';
|
||||
import logo from '$lib/assets/bored-game.png';
|
||||
|
||||
export const load = async ({ fetch, url }) => {
|
||||
const metaTags: MetaTagsProps = Object.freeze({
|
||||
|
|
@ -14,7 +15,7 @@ export const load = async ({ fetch, url }) => {
|
|||
description: 'Bored Game, keep track of your games',
|
||||
images: [
|
||||
{
|
||||
url: `${new URL(url.pathname, url.origin).href}/og?title=Home`,
|
||||
url: `${new URL(url.pathname, url.origin).href}og?title=Home | Bored Game&icon=${logo}`,
|
||||
width: 1200,
|
||||
height: 630
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue