This commit is contained in:
Orion Reed 2024-07-08 01:28:46 +01:00
parent 90f97af357
commit 96619fa9e6
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
"rewrites": [
{
"source": "/posts/(.*)",
"destination": "/posts/$1"
"destination": "/"
}
]
}

View File

@ -15,8 +15,8 @@ export default defineConfig({
viteStaticCopy({
targets: [
{
src: 'src/posts/**/*',
dest: 'posts'
src: 'src/posts/',
dest: '.'
}
]
})