Jelajahi Sumber

Update vercel.json

Track3 3 tahun lalu
induk
melakukan
98e513040e
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      vercel.json

+ 4 - 4
vercel.json

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