Skip to content

Commit a80497e

Browse files
committed
disable redirect
1 parent db62597 commit a80497e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docusaurus.config.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -216,22 +216,22 @@ module.exports = {
216216
},
217217
}),
218218
// TODO this should be somehow computed from all the external sources
219-
[
220-
'@docusaurus/plugin-client-redirects',
221-
{
222-
createRedirects(existingPath) {
223-
// TODO change to `api/v2` once we are ready
224-
if (existingPath.endsWith('api/v2-new')) {
225-
return `${existingPath}/api/v2-new/apify-api`;
226-
}
227-
// if (!existingPath.endsWith('/')) {
228-
// return `${existingPath}/`;
229-
// }
230-
231-
return undefined; // Return a falsy value: no redirect created
232-
},
233-
},
234-
],
219+
// [
220+
// '@docusaurus/plugin-client-redirects',
221+
// {
222+
// createRedirects(existingPath) {
223+
// // TODO change to `api/v2` once we are ready
224+
// if (existingPath.endsWith('api/v2-new')) {
225+
// return `${existingPath}/api/v2-new/apify-api`;
226+
// }
227+
// // if (!existingPath.endsWith('/')) {
228+
// // return `${existingPath}/`;
229+
// // }
230+
//
231+
// return undefined; // Return a falsy value: no redirect created
232+
// },
233+
// },
234+
// ],
235235
...config.plugins,
236236
],
237237
markdown: {

0 commit comments

Comments
 (0)