issues with triple /// somewhere breaking urls, updating config

This commit is contained in:
matthieu42morin 2024-04-28 17:40:36 +02:00
parent b16c3a04b1
commit 9b67ce3b28
1 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,10 @@
import type { SiteConfig } from '$lib/types/site' import type { SiteConfig } from '$lib/types/site'
import {PUBLIC_SITE_PROTOCOL, PUBLIC_SITE_DOMAIN} from '$env/static/public';
export const site: SiteConfig = { export const site: SiteConfig = {
protocol: import.meta.env.PUBLIC_SITE_PROTOCOL ?? import.meta.env.DEV ? 'http://' : 'https://', protocol: PUBLIC_SITE_PROTOCOL ?? import.meta.env.DEV ? 'http://' : 'https://',
domain: import.meta.env.PUBLIC_SITE_DOMAIN ?? 'urara-demo.netlify.app', domain: PUBLIC_SITE_DOMAIN ?? 'mattmor.in',
title: "Matt's Portfolio", title: "Matt's Portfolio",
subtitle: 'The portfolio and blog of Matt Morin - ideas, projects and thoughts', subtitle: 'The portfolio and blog of Matt Morin - ideas, projects and thoughts',
lang: 'en-US', lang: 'en-US',
@ -12,7 +14,7 @@ export const site: SiteConfig = {
avatar: '/assets/maskable@512.png', avatar: '/assets/maskable@512.png',
name: 'Matt Morin', name: 'Matt Morin',
status: '👨‍💻', status: '👨‍💻',
bio: 'lorem ipsum dolor sit amet, consectetur adipiscing elit.' bio: 'I code, I am beginning to write this blog and I also sleep sometimes. If you like what I am doing, dm me somewhere!',
}, },
themeColor: '#3D4451' themeColor: '#111111'
} }