Procházet zdrojové kódy

Update vercel.json

Track3 před 3 roky
rodič
revize
390aac324d
1 změnil soubory, kde provedl 7 přidání a 6 odebrání
  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
     }
   ]