mirror of
https://github.com/acid-info/vac.dev.git
synced 2025-02-22 16:48:15 +00:00
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…
x
Reference in New Issue
Block a user