// @ts-check import { defineConfig } from "astro/config"; // Frontpage for https://substandard.blog, built statically into web/dist // and uploaded by infra/main.tf. // // Dev server: bind loopback only and fail loudly if the requested port is // taken (several agents may share this machine), instead of drifting to the // next free port. export default defineConfig({ site: "https://substandard.blog", output: "static", // standard.site document records claim exact addresses (siteUrl + // pathPrefix + slug, no slash — see web/sequoia.json). With a trailing // slash the canonical would be /posts/x/ while the record says /posts/x, // and the two would stop naming the same page. trailingSlash: "never", server: { host: "127.0.0.1", }, vite: { server: { strictPort: true, }, }, });