plzzz
This commit is contained in:
parent
90f97af357
commit
96619fa9e6
|
|
@ -5,7 +5,7 @@
|
||||||
"rewrites": [
|
"rewrites": [
|
||||||
{
|
{
|
||||||
"source": "/posts/(.*)",
|
"source": "/posts/(.*)",
|
||||||
"destination": "/posts/$1"
|
"destination": "/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -15,8 +15,8 @@ export default defineConfig({
|
||||||
viteStaticCopy({
|
viteStaticCopy({
|
||||||
targets: [
|
targets: [
|
||||||
{
|
{
|
||||||
src: 'src/posts/**/*',
|
src: 'src/posts/',
|
||||||
dest: 'posts'
|
dest: '.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue