20 lines
359 B
JavaScript
20 lines
359 B
JavaScript
const withNextra = require('nextra')({
|
|
theme: 'nextra-theme-docs',
|
|
themeConfig: './theme.config.tsx'
|
|
});
|
|
|
|
module.exports = {
|
|
basePath: '/docs',
|
|
...withNextra(),
|
|
async rewrites() {
|
|
return {
|
|
fallback: [
|
|
{
|
|
source: '/:path*',
|
|
destination: `https://classroomio-com.vercel.app/:path*`
|
|
}
|
|
]
|
|
};
|
|
}
|
|
};
|