Files
armarium-website/public/staticwebapp.config.json
T
Daniel Krähenbühl c043b2373b Switch to static output and add Azure SWA deployment
- Set output: 'static' in astro.config.mjs; remove Vercel/Netlify adapters
- Remove API routes (contact, newsletter) incompatible with static mode
- Add Azure SWA deploy workflow using @azure/static-web-apps-cli via npx
- Add public/staticwebapp.config.json for SWA routing and 404 fallback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 21:58:47 +02:00

16 lines
356 B
JSON

{
"navigationFallback": {
"rewrite": "/404.html",
"exclude": ["/assets/*", "/fonts/*", "/_astro/*", "*.ico", "*.png", "*.jpg", "*.svg", "*.webp", "*.webmanifest", "*.xml", "*.txt"]
},
"trailingSlash": "auto",
"mimeTypes": {
".json": "application/json"
},
"responseOverrides": {
"404": {
"rewrite": "/404.html"
}
}
}