fix: profile页可在未登录时查看 (#166)

根据Cloudreve项目代码,profile页是支持在未登录时查看的,而且还可设置是否展示主页,所以这里就去掉需要登录的限制
This commit is contained in:
酷甚么喵 2023-10-07 17:10:41 +08:00 committed by GitHub
parent b993b4283e
commit 6426286010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,12 +167,12 @@ export default function App() {
<UserSetting />
</Route>
<AuthRoute
<Route
path={`${path}profile/:id`}
isLogin={isLogin}
>
<Profile />
</AuthRoute>
</Route>
<AuthRoute path={`${path}webdav`} isLogin={isLogin}>
<WebDAV />