Something went wrong. Try again.
Browser extension: detect and subscribe to standard.site publications on ATProto
Something went wrong. Try again.
828 B · 26 lines
JavaScript
123456789101112131415161718192021222324252627// @ts-checkimport { 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, }, },});