From dd2036eb2e4c5b51189f629b417cbb4a8bf4fc47 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Mon, 11 Dec 2023 02:14:54 +0300 Subject: [PATCH] debug: add rewrites --- apps/docs/next.config.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/docs/next.config.js b/apps/docs/next.config.js index d7744cbc..e82b93d8 100644 --- a/apps/docs/next.config.js +++ b/apps/docs/next.config.js @@ -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*` + } + ] + }; + } };