Add Netlify _redirects for pretty URLs with proper 301 redirects

This commit is contained in:
Obsidian Sync 2026-02-25 19:06:31 +05:30
parent 9af0acc294
commit f478bd6f0a
4 changed files with 46 additions and 17 deletions

View file

@ -5,7 +5,8 @@
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"prebuild": "node scripts/generate-redirects.js",
"build": "npm run prebuild && astro check && astro build",
"preview": "astro preview",
"astro": "astro"
},