summaryrefslogtreecommitdiff
path: root/src/components/Nav.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Nav.astro')
-rw-r--r--src/components/Nav.astro4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Nav.astro b/src/components/Nav.astro
index 378c804..f427548 100644
--- a/src/components/Nav.astro
+++ b/src/components/Nav.astro
@@ -6,11 +6,13 @@ interface NavLink {
url: string;
}
+const minifluxUrl = process.env.MINIFLUX_URL || `https://miniflux.${Astro.url.hostname || config.site}`;
+
const links: NavLink[] = [
{ name: "home", url: "/" },
{
name: "miniflux",
- url: `https://miniflux.${Astro.url.hostname || config.site}`,
+ url: minifluxUrl,
},
{
name: "github",