From f19fc78a151c761642cf7c9b654e0da9db3c4418 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sun, 13 Aug 2023 20:33:03 +0100 Subject: More robust relative path handling --- src/components/Scotsoun.astro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/components/Scotsoun.astro') diff --git a/src/components/Scotsoun.astro b/src/components/Scotsoun.astro index 13c6fa9..1491ebc 100644 --- a/src/components/Scotsoun.astro +++ b/src/components/Scotsoun.astro @@ -5,6 +5,7 @@ import tComponent from '$i18n/translations/components/scotsoun'; import type Locale from '$types/Locale'; import type Scotsoun from '$types/Scotsoun'; import PayPalButtons from './PayPalButtons.astro'; +import relativePath from '$lib/relativePath'; interface Props { locale: Locale; @@ -30,7 +31,9 @@ const t = translate(locale);
-