Files
classroomio/apps/docs/next.config.js
T
2023-12-11 02:14:54 +03:00

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*`
}
]
};
}
};