diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Nav.astro | 4 |
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", |
