feat: add documentation link and redirect to WIKI_URI
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import {WIKI_URI} from '../lib/constants';
|
||||
import type {GetServerSideProps} from 'next';
|
||||
|
||||
export default function Docs() {
|
||||
return null;
|
||||
}
|
||||
|
||||
export const getServerSideProps: GetServerSideProps = async () => {
|
||||
return {
|
||||
redirect: {
|
||||
destination: WIKI_URI,
|
||||
permanent: false,
|
||||
},
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user