mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
fix: profile页可在未登录时查看
根据Cloudreve项目代码,profile页是支持在未登录时查看的,而且还可设置是否展示主页,所以这里就去掉需要登录的限制
This commit is contained in:
parent
b993b4283e
commit
5e2adc7e16
|
|
@ -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 />
|
||||
|
|
|
|||
Loading…
Reference in New Issue