From 507e2b7eab60c28a77f12279ba3816f620cd4738 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Mon, 11 Dec 2023 01:52:26 +0300 Subject: [PATCH] debug: undo vercel rewrites --- apps/docs/next.config.js | 5 ++++- apps/vercel-rewrites/vercel.json | 7 ------- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 apps/vercel-rewrites/vercel.json diff --git a/apps/docs/next.config.js b/apps/docs/next.config.js index da07e579..d7744cbc 100644 --- a/apps/docs/next.config.js +++ b/apps/docs/next.config.js @@ -3,4 +3,7 @@ const withNextra = require('nextra')({ themeConfig: './theme.config.tsx' }); -module.exports = withNextra(); +module.exports = { + basePath: '/docs', + ...withNextra() +}; diff --git a/apps/vercel-rewrites/vercel.json b/apps/vercel-rewrites/vercel.json deleted file mode 100644 index 5da1f279..00000000 --- a/apps/vercel-rewrites/vercel.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "rewrites": [ - {"source": "/docs/:match*", "destination": "https://docs-rotimi-best.vercel.app/:match*"}, - {"source": "/", "destination": "https://classroomio-com.vercel.app/"}, - {"source": "/:match*", "destination": "https://classroomio-com.vercel.app/:match*"} - ] -} \ No newline at end of file