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