diff --git a/vercel.json b/vercel.json index c46d8da..42e7df3 100644 --- a/vercel.json +++ b/vercel.json @@ -5,7 +5,7 @@ "rewrites": [ { "source": "/posts/(.*)", - "destination": "/posts/$1" + "destination": "/" } ] } \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 487d682..a90f1b9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -15,8 +15,8 @@ export default defineConfig({ viteStaticCopy({ targets: [ { - src: 'src/posts/**/*', - dest: 'posts' + src: 'src/posts/', + dest: '.' } ] })