Initial portfolio site
Mirror to Gitea / mirror (push) Skipped

Astro + React islands + MDX with a theme system (terminal, concrete,
nostromo, overgrowth), USMT Dash case study, work/log/sound/models/about/
contact pages, RSS, self-hosted contact form over SMTP, /media proxy to
Nextcloud, Dockerfile for Coolify, and a GitHub Action that mirrors main
to Gitea.
This commit is contained in:
Johan Sandoval committed 2026-10-08 14:41:39 +00:00
commit b2cd67e74f
64 files changed
+9066

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
// @ts-check
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import react from '@astrojs/react';
import sitemap from '@astrojs/sitemap';
import node from '@astrojs/node';
// Pages are prerendered to static HTML by default. Anything that needs the
// server (contact form, media proxy) opts out with `export const prerender = false`.
export default defineConfig({
site: 'https://yoyos.sh',
output: 'static',
adapter: node({ mode: 'standalone' }),
integrations: [mdx(), react(), sitemap()],
prefetch: { prefetchAll: true, defaultStrategy: 'hover' },
security: {
checkOrigin: true,
// Coolify's proxy terminates TLS; trust its X-Forwarded-* headers for these hosts
// so origin checks on the contact form see https://yoyos.sh.
allowedDomains: [
{ hostname: 'yoyos.sh', protocol: 'https' },
{ hostname: 'www.yoyos.sh', protocol: 'https' },
],
},
});