refactor: migrate route from post/... to blog/...
This commit is contained in:
parent
03ce3caefd
commit
414cd7d3d7
12 changed files with 18 additions and 9 deletions
|
@ -11,6 +11,10 @@ export default defineConfig({
|
|||
site: 'https://terminal-blog.example.com',
|
||||
base: '/',
|
||||
trailingSlash: 'ignore',
|
||||
redirects: {
|
||||
// for the old routes still can be accessed
|
||||
"/post/[...slug]": "/blog/[...slug]"
|
||||
},
|
||||
|
||||
build: {
|
||||
format: 'directory'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue