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": [ "rewrites": [
{ {
"source": "/posts/(.*)", "source": "/posts/(.*)",
"destination": "/posts/$1" "destination": "/"
} }
] ]
} }

View File

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