mirror of
https://github.com/apophenia-news/apophenia.news.git
synced 2026-08-28 06:45:43 +00:00
Feat: add unlisted path constant
Co-authored-by: gemini-3.7-flash <noreply@google.com>
This commit is contained in:
@@ -3,6 +3,7 @@ import path from "node:path";
|
|||||||
export const ROOT = process.cwd();
|
export const ROOT = process.cwd();
|
||||||
export const SRC = path.join(ROOT, "src");
|
export const SRC = path.join(ROOT, "src");
|
||||||
export const PUBLIC = path.join(ROOT, "public");
|
export const PUBLIC = path.join(ROOT, "public");
|
||||||
|
export const UNLISTED_PATH = path.join(ROOT, "unlisted.txt");
|
||||||
export const ARTICLES_GLOB = "articles/**/index.md";
|
export const ARTICLES_GLOB = "articles/**/index.md";
|
||||||
export const SITE_URL = (process.env.SITE_URL || "https://apophenia.news").replace(/\/+$/, "");
|
export const SITE_URL = (process.env.SITE_URL || "https://apophenia.news").replace(/\/+$/, "");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user