debug: add vercel.json
This commit is contained in:
@@ -5,13 +5,5 @@ const withNextra = require('nextra')({
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
basePath: '/docs',
|
basePath: '/docs',
|
||||||
...withNextra(),
|
...withNextra()
|
||||||
async rewrites() {
|
|
||||||
return [
|
|
||||||
{
|
|
||||||
source: '/:path*',
|
|
||||||
destination: `https://classroomio-com.vercel.app/:path*`
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"rewrites": [
|
||||||
|
{"source": "/", "destination": "https://classroomio-com.vercel.app/"},
|
||||||
|
{"source": "/:match*", "destination": "https://classroomio-com.vercel.app/:match*"}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user