mirror of https://github.com/acid-info/vac.dev.git
fix: redirect /research to /rlog
This commit is contained in:
parent
d4cc49efdd
commit
6282270ce9
|
@ -64,6 +64,7 @@ const config = {
|
||||||
[
|
[
|
||||||
'@docusaurus/plugin-client-redirects',
|
'@docusaurus/plugin-client-redirects',
|
||||||
{
|
{
|
||||||
|
redirects: [{ from: '/research', to: '/rlog' }],
|
||||||
createRedirects(existingPath) {
|
createRedirects(existingPath) {
|
||||||
return existingPath.startsWith('/rlog') && existingPath !== '/rlog'
|
return existingPath.startsWith('/rlog') && existingPath !== '/rlog'
|
||||||
? [existingPath.replace('/rlog', '')]
|
? [existingPath.replace('/rlog', '')]
|
||||||
|
|
Loading…
Reference in New Issue