fix: default route for logo
This commit is contained in:
@@ -39,9 +39,7 @@ const LoginForm = () => {
|
||||
}}
|
||||
>
|
||||
<div className="flex-center">
|
||||
<span>
|
||||
{intl?.formatMessage({ id: 'users.login.title' }, { name: '' })}
|
||||
</span>
|
||||
<span>{intl?.formatMessage({ id: 'users.login.title' })}</span>
|
||||
<img
|
||||
src={LogoIcon}
|
||||
alt="logo"
|
||||
@@ -50,7 +48,7 @@ const LoginForm = () => {
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}, []);
|
||||
}, [intl]);
|
||||
|
||||
const gotoDefaultPage = (userInfo: any) => {
|
||||
const pathname =
|
||||
|
||||
@@ -29,7 +29,7 @@ export const addWorkerGuide: Record<string, any> = {
|
||||
getToken:
|
||||
'Get-Content -Path (Join-Path -Path $env:APPDATA -ChildPath "gpustack\\token") -Raw',
|
||||
registerWorker(params: { server: string; token: string }) {
|
||||
return `Invoke-Expression "& { $((Invoke-WebRequest -Uri "https://get.gpustack.ai" -UseBasicParsing).Content) } --server-url ${params.server} --token ${params.token}"`;
|
||||
return `Invoke-Expression "& { $((Invoke-WebRequest -Uri 'https://get.gpustack.ai' -UseBasicParsing).Content) } --server-url '${params.server}' --token '${params.token}'"`;
|
||||
}
|
||||
},
|
||||
cuda: {
|
||||
|
||||
Reference in New Issue
Block a user