From 435b479adfc6260fdea4fb7878841fe9e1016c86 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Mon, 11 Dec 2023 02:19:29 +0300 Subject: [PATCH] remove fallback --- apps/docs/next.config.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/apps/docs/next.config.js b/apps/docs/next.config.js index e82b93d8..20a7bc0c 100644 --- a/apps/docs/next.config.js +++ b/apps/docs/next.config.js @@ -7,13 +7,11 @@ module.exports = { basePath: '/docs', ...withNextra(), async rewrites() { - return { - fallback: [ - { - source: '/:path*', - destination: `https://classroomio-com.vercel.app/:path*` - } - ] - }; + return [ + { + source: '/:path*', + destination: `https://classroomio-com.vercel.app/:path*` + } + ]; } };