feat: a changelog addition, and addition of subdomains to ?do=random

This commit is contained in:
Lewis Wynne 2026-03-26 15:06:40 +00:00
parent 3b0bba0353
commit f00eb24814
4 changed files with 9 additions and 7 deletions

View file

@ -2,10 +2,7 @@ import { getCollection } from 'astro:content';
import type { APIContext } from 'astro';
import { getSlug } from '../lib/md';
import { getTxtFileNames } from '../lib/txt';
const SUBDOMAINS = [
'https://penfield.wynne.rs/',
];
import { SUBDOMAINS } from '../lib/consts';
export async function GET(context: APIContext) {
const site = context.site?.origin ?? 'https://wynne.rs';