fix: share login.

This commit is contained in:
archer
2023-05-15 10:15:35 +08:00
parent 1d74095739
commit 06ab718e6e
4 changed files with 32 additions and 12 deletions

View File

@@ -7,7 +7,8 @@ import { useQuery } from '@tanstack/react-query';
const unAuthPage: { [key: string]: boolean } = {
'/': true,
'/login': true,
'/model/share': true
'/model/share': true,
'/chat/share': true
};
const Auth = ({ children }: { children: JSX.Element }) => {