Files
classroomio/apps/docs/next.config.js
T

18 lines
325 B
JavaScript
Raw Normal View History

2023-11-25 21:56:02 +00:00
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
2023-12-11 00:43:42 +03:00
themeConfig: './theme.config.tsx'
});
2023-11-25 21:56:02 +00:00
2023-12-11 02:01:49 +03:00
module.exports = {
basePath: '/docs',
2023-12-11 02:14:54 +03:00
...withNextra(),
async rewrites() {
2023-12-11 02:19:29 +03:00
return [
{
source: '/:path*',
destination: `https://classroomio-com.vercel.app/:path*`
}
];
2023-12-11 02:14:54 +03:00
}
2023-12-11 02:01:49 +03:00
};