Skip to content

Commit 93f9459

Browse files
committed
Test if this fixes redirect issue
1 parent 67cb7c2 commit 93f9459

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/docs/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ const withTM = require("next-transpile-modules")(["@dumbcode/shared"]);
22

33
module.exports = withTM({
44
reactStrictMode: true,
5-
basePath: "/docs",
5+
basePath: "/docs-from-studio",
66
});

apps/studio/next.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ module.exports = withPlugins([
2828

2929
{
3030
source: '/docs',
31-
destination: `${process.env.DOCS_URL}/docs`,
31+
destination: `${process.env.DOCS_URL}/docs-from-studio`,
3232
},
3333
{
3434
source: '/docs/:path*',
35-
destination: `${process.env.DOCS_URL}/docs/:path*`,
35+
destination: `${process.env.DOCS_URL}/docs-from-studio/:path*`,
3636
},
3737
]
3838
},

0 commit comments

Comments
 (0)