Browse Source

Update vercel.json

Track3 2 years ago
parent
commit
98e513040e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      vercel.json

+ 4 - 4
vercel.json

@@ -2,13 +2,13 @@
   "trailingSlash": true,
   "redirects": [
     {
-      "source": "/posts/*",
-      "destination": "/writing/*",
+      "source": "/posts/(.*)",
+      "destination": "/writing/$1",
       "permanent": true
     },
     {
-      "source": "/post/*",
-      "destination": "/writing/*",
+      "source": "/post/(.*)",
+      "destination": "/writing/$1",
       "permanent": true
     },
     {