One trailing-slash policy, set explicitly
`/about` and `/about/` are different URLs to a crawler. Serving both with 200 creates a duplicate for every page on the site. Check found-trailing-slash-policy
import { defineConfig } from "astro/config";
export default defineConfig({
site: "https://www.example.com",
// 'ignore' is the default and it serves /about and /about/ with a 200,
// duplicating every page on the site. Always set this explicitly.
trailingSlash: "never",
build: { format: "file" },
});