fix: redirect /research to /rlog

This commit is contained in:
Hossein Mehrabi
2023-07-18 09:43:47 +03:30
parent d4cc49efdd
commit 6282270ce9

View File

@@ -64,6 +64,7 @@ const config = {
[
'@docusaurus/plugin-client-redirects',
{
redirects: [{ from: '/research', to: '/rlog' }],
createRedirects(existingPath) {
return existingPath.startsWith('/rlog') && existingPath !== '/rlog'
? [existingPath.replace('/rlog', '')]