Bläddra i källkod

Update vercel.json

Track3 3 år sedan
förälder
incheckning
390aac324d
1 ändrade filer med 7 tillägg och 6 borttagningar
  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
     }
   ]