debug: add vercel.json
This commit is contained in:
@@ -5,13 +5,5 @@ const withNextra = require('nextra')({
|
||||
|
||||
module.exports = {
|
||||
basePath: '/docs',
|
||||
...withNextra(),
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/:path*',
|
||||
destination: `https://classroomio-com.vercel.app/:path*`
|
||||
}
|
||||
];
|
||||
}
|
||||
...withNextra()
|
||||
};
|
||||
|
||||
@@ -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