瀏覽代碼

Update vercel.json

Track3 3 年之前
父節點
當前提交
98e513040e
共有 1 個文件被更改,包括 4 次插入4 次删除
  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
     },
     {