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