debug: add rewrites

This commit is contained in:
Rotimi Best
2023-12-11 02:14:54 +03:00
parent 6e652f0545
commit dd2036eb2e
+11 -1
View File
@@ -5,5 +5,15 @@ const withNextra = require('nextra')({
module.exports = {
basePath: '/docs',
...withNextra()
...withNextra(),
async rewrites() {
return {
fallback: [
{
source: '/:path*',
destination: `https://classroomio-com.vercel.app/:path*`
}
]
};
}
};