Add Netlify _redirects for pretty URLs with proper 301 redirects
This commit is contained in:
parent
9af0acc294
commit
f478bd6f0a
4 changed files with 46 additions and 17 deletions
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue