From f831e4685f503b9c80aa858b1d5913def3002849 Mon Sep 17 00:00:00 2001 From: log101 Date: Tue, 11 Jun 2024 12:02:02 +0300 Subject: [PATCH] chore: put backend host in an environment variable --- src/pages/category/[category]/[slug]/index.astro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/category/[category]/[slug]/index.astro b/src/pages/category/[category]/[slug]/index.astro index d46a828..e796b1f 100644 --- a/src/pages/category/[category]/[slug]/index.astro +++ b/src/pages/category/[category]/[slug]/index.astro @@ -15,6 +15,8 @@ export async function getStaticPaths() { props: { entry }, })); } + +const backendHost = import.meta.env.PUBLIC_BACKEND_HOST; ---