diff options
author | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-07-06 15:10:35 -0300 |
---|---|---|
committer | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-07-06 15:10:35 -0300 |
commit | 87df5a27cb34ada02f54dacf4299574f04038612 (patch) | |
tree | edd286add16ec82bc4b8467566ede15a90883a39 /src/pages | |
parent | 04bcfc551e3f446d26358971115ac27e34f03e44 (diff) |
fix: env name conflict
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
Diffstat (limited to 'src/pages')
-rw-r--r-- | src/pages/.well-known/onion.ts | 2 | ||||
-rw-r--r-- | src/pages/index.astro | 2 | ||||
-rw-r--r-- | src/pages/rss.xml.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/pages/.well-known/onion.ts b/src/pages/.well-known/onion.ts index 552b5eb..5b1bc8c 100644 --- a/src/pages/.well-known/onion.ts +++ b/src/pages/.well-known/onion.ts @@ -1,5 +1,5 @@ import type { APIRoute } from "astro"; -import { env } from "../../lib/env.ts"; +import { env } from "../../lib/environment.ts"; const { PUBLIC_TOR_URL } = env; export const GET: APIRoute = (): Response => { diff --git a/src/pages/index.astro b/src/pages/index.astro index 7e506bd..1c80a76 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -8,7 +8,7 @@ import { isOriginal, sortLastUpdated, } from "@lib/collection/helpers"; -import { env } from "@lib/env"; +import { env } from "@lib/environment"; const { PUBLIC_SITE_TITLE } = env; diff --git a/src/pages/rss.xml.ts b/src/pages/rss.xml.ts index c07f3bd..85aa079 100644 --- a/src/pages/rss.xml.ts +++ b/src/pages/rss.xml.ts @@ -3,7 +3,7 @@ import { getCollection } from "astro:content"; import type { APIContext, APIRoute } from "astro"; import { Blog } from "../lib/collection/schemas.ts"; import { getFirstAuthorEmail } from "../lib/collection/helpers.ts"; -import { env } from "../lib/env.ts"; +import { env } from "../lib/environment.ts"; const { PUBLIC_SITE_TITLE, PUBLIC_SITE_DESCRIPTION, PUBLIC_SITE_URL } = env; |