{
  "buildCommand": "bash tools/stage-installer.sh && node tools/indexnow.mjs sitemap.xml . --lastmod && rm tools/indexnow.mjs",
  "outputDirectory": ".",
  "cleanUrls": true,
  "trailingSlash": true,
  "headers": [
    {
      "source": "/mcp-skills/textley-mcp.md",
      "headers": [
        {
          "key": "Content-Type",
          "value": "text/plain; charset=utf-8"
        },
        {
          "key": "Content-Disposition",
          "value": "inline"
        }
      ]
    },
    {
      "source": "/downloads/(.*)",
      "headers": [
        {
          "key": "Content-Disposition",
          "value": "attachment"
        },
        {
          "key": "Content-Type",
          "value": "application/x-apple-diskimage"
        }
      ]
    },
    {
      "source": "/:feed(appcast\\.xml|appcast-legacy\\.xml)",
      "headers": [
        {
          "key": "Content-Type",
          "value": "application/rss+xml; charset=utf-8"
        },
        {
          "key": "Cache-Control",
          "value": "no-store"
        },
        {
          "key": "Vary",
          "value": "User-Agent"
        }
      ]
    },
    {
      "source": "/(.*)",
      "headers": [
        {
          "key": "Referrer-Policy",
          "value": "strict-origin-when-cross-origin"
        },
        {
          "key": "X-Content-Type-Options",
          "value": "nosniff"
        },
        {
          "key": "Content-Security-Policy",
          "value": "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'; connect-src 'self' https://projectatom.ai; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; form-action 'none'"
        }
      ]
    }
  ],
  "redirects": [
    {
      "source": "/appcast.xml",
      "has": [
        {
          "type": "header",
          "key": "user-agent",
          "value": "Textley/1\\.0\\.[456] Sparkle/.*"
        }
      ],
      "destination": "/appcast-legacy.xml",
      "permanent": false
    },
    {
      "source": "/support/",
      "destination": "/help/",
      "permanent": true
    },
    {
      "source": "/downloads",
      "destination": "/download/",
      "permanent": false
    },
    {
      "source": "/downloads/",
      "destination": "/download/",
      "permanent": false
    }
  ]
}
