diff options
Diffstat (limited to 'static/vercel.json')
| -rw-r--r-- | static/vercel.json | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/static/vercel.json b/static/vercel.json new file mode 100644 index 0000000..bbbd8a0 --- /dev/null +++ b/static/vercel.json @@ -0,0 +1,136 @@ +{ + "redirects": [ + { + "source": "/post/2888969971/:path*", + "destination": "/posts/星落关于我对命运既定的想法/:path*", + "permanent": true + }, + { + "source": "/post/2367861242/:path*", + "destination": "/posts/人生中第一次大考/:path*", + "permanent": true + }, + + { + "source": "/post/技术/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/post/%E6%8A%80%E6%9C%AF/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/post/随笔/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/post/%E9%9A%8F%E7%AC%94/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/post/读书/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/post/%E8%AF%BB%E4%B9%A6/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + + { + "source": "/posts/技术/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/posts/%E6%8A%80%E6%9C%AF/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/posts/随笔/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/posts/%E9%9A%8F%E7%AC%94/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/posts/读书/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/posts/%E8%AF%BB%E4%B9%A6/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/posts/tech/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/posts/jottings/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/posts/readings/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + + { + "source": "/post/tech/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/post/jottings/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + { + "source": "/post/readings/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + + { + "source": "/post", + "destination": "/posts", + "permanent": true + }, + { + "source": "/post/", + "destination": "/posts/", + "permanent": true + }, + + { + "source": "/post/(.*)", + "destination": "/posts/$1", + "permanent": true + }, + + { + "source": "/(.*)", + "destination": "/index.html", + "statusCode": 200 + }, + + { + "source": "/avatar.png", + "destination": "/avatar.webp", + "statusCode": 200 + } + ] +} |
