feat: add 403 pages

This commit is contained in:
shuai
2023-10-10 11:55:24 +08:00
parent 7f3d0a5abb
commit d0409afd30
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import { HttpErrorContent } from '@/components';
const Index = () => {
return <HttpErrorContent httpCode="403" />;
};
export default Index;
+4
View File
@@ -394,6 +394,10 @@ const routes: RouteNode[] = [
path: '50x',
page: 'pages/50X',
},
{
path: '403',
page: 'pages/403',
},
],
},
{