feat: a changelog addition, and addition of subdomains to ?do=random
This commit is contained in:
parent
3b0bba0353
commit
f00eb24814
4 changed files with 9 additions and 7 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue