From 0a5bca8e175a4f99c54a6ef401b03e07ebb7b0ae Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Fri, 1 Nov 2024 11:36:55 +0000 Subject: [PATCH] update doc rewrites --- documentation/docs/next.config.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/documentation/docs/next.config.js b/documentation/docs/next.config.js index 7ace7a05ba..3603b62d90 100644 --- a/documentation/docs/next.config.js +++ b/documentation/docs/next.config.js @@ -479,6 +479,11 @@ const config = { destination: "/:path*", permanent: false, }, + { + source: "/docs/:path*", + destination: "/:path*", + permanent: false, + }, // TODO these need to go in the config of the existing deployed ts sdk docs to redirect from there // these assume source basePath = sdk.nymtech.net // { @@ -579,7 +584,7 @@ const config = { transpilePackages: ["@nymproject/contract-clients"], }; -module.exports = config, +(module.exports = config), { basePath: "/docs", -}; + };