diff --git a/webui/react/src/pages/TrialLogs.tsx b/webui/react/src/pages/TrialLogs.tsx index c10049d72a8..93986c7b9ee 100644 --- a/webui/react/src/pages/TrialLogs.tsx +++ b/webui/react/src/pages/TrialLogs.tsx @@ -21,7 +21,7 @@ const TrialLogs: React.FC = () => { const { trialId } = useParams(); const id = parseInt(trialId); const title = `Trial ${id} Logs`; - const downloadUrl = `${serverAddress()}/trials/${id}/logs?format=raw`; + const downloadUrl = `${serverAddress(true)}/trials/${id}/logs?format=raw`; const setUI = UI.useActionContext(); const logsRef = useRef(null); const [ oldestFetchedId, setOldestFetchedId ] = useState(Number.MAX_SAFE_INTEGER); diff --git a/webui/react/src/routes/index.ts b/webui/react/src/routes/index.ts index f1eb1e62563..d2c3ecf00f2 100644 --- a/webui/react/src/routes/index.ts +++ b/webui/react/src/routes/index.ts @@ -111,14 +111,14 @@ const trialLogsRoute = { export const defaultAppRoute = dashboardRoute; export const appRoutes: RouteConfig[] = [ - dashboardRoute, - experimentDetailsRoute, + trialLogsRoute, trialDetailsRoute, - experimentListRoute, + experimentDetailsRoute, taskListRoute, + experimentListRoute, clusterRoute, masterLogsRoute, - trialLogsRoute, + dashboardRoute, { component: SignIn, id: 'login',