We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d06856 commit 0c2d237Copy full SHA for 0c2d237
middleware.js
@@ -1,7 +1,7 @@
1
// Exports
2
// =============================================================================
3
export const config = {
4
- matcher: ['/(index.html)?'],
+ matcher: ['/preview/(index.html)?'],
5
};
6
7
// Rewrite rules shared with local server configurations
vercel.json
@@ -5,5 +5,9 @@
"headers": [{ "key": "x-robots-tag", "value": "noindex" }]
}
],
8
- "rewrites": [{ "source": "/:path*", "destination": "/docs/:path*" }]
+ "redirects": [{ "source": "/", "destination": "/preview/" }],
9
+ "rewrites": [
10
+ { "source": "/preview/CHANGELOG.md", "destination": "/CHANGELOG.md" },
11
+ { "source": "/preview/:path*", "destination": "/docs/:path*" }
12
+ ]
13
0 commit comments