Browse Source

Update vercel.json

Track3 2 years ago
parent
commit
390aac324d
1 changed files with 7 additions and 6 deletions
  1. 7 6
      vercel.json

+ 7 - 6
vercel.json

@@ -1,18 +1,19 @@
 {
+  "trailingSlash": true,
   "redirects": [
     {
-      "source": "/posts/:path",
-      "destination": "/writing/:path",
+      "source": "/posts/:path*",
+      "destination": "/writing/:path*",
       "permanent": true
     },
     {
-      "source": "/post/:path",
-      "destination": "/writing/:path",
+      "source": "/post/:path*",
+      "destination": "/writing/:path*",
       "permanent": true
     },
     {
-      "source": "/friends",
-      "destination": "/links",
+      "source": "/friends/",
+      "destination": "/links/",
       "permanent": true
     }
   ]