Skip to content

Commit

Permalink
Changed browser session startup page to display "Please wait... Conne…
Browse files Browse the repository at this point in the history
…cting to your Chat Copilot."
  • Loading branch information
mattahearn committed Apr 12, 2024
1 parent ad22a27 commit 78dcd6c
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions webapp/src/components/views/BackendProbe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Body1, Spinner, Title3 } from '@fluentui/react-components';
import { FC, useEffect, useMemo, useState } from 'react';
import { renderApp } from '../../index';
import { AuthHelper } from '../../libs/auth/AuthHelper';
import { BackendServiceUrl, NetworkErrorMessage } from '../../libs/services/BaseService';
import { NetworkErrorMessage } from '../../libs/services/BaseService';
import { MaintenanceService, MaintenanceStatus } from '../../libs/services/MaintenanceService';
import { useAppDispatch, useAppSelector } from '../../redux/app/hooks';
import { RootState } from '../../redux/app/store';
Expand Down Expand Up @@ -86,22 +86,7 @@ export const BackendProbe: FC<IData> = ({ onBackendFound }) => {
<div className={classes.informativeView}>
<Title3>Connecting...</Title3>
<Spinner />
<Body1>
This app expects to find a server running at <strong>{BackendServiceUrl}</strong>
</Body1>
<Body1>
To run the server locally, use Visual Studio, Visual Studio Code, or type the following command:{' '}
<code>
<strong>dotnet run</strong>
</code>
</Body1>
<Body1>
If running locally, ensure that you have the{' '}
<code>
<b>REACT_APP_BACKEND_URI</b>
</code>{' '}
variable set in your <b>webapp/.env</b> file
</Body1>
<Body1>Please wait... Connecting to your Chat Copilot.</Body1>
</div>
)}
</>
Expand Down

0 comments on commit 78dcd6c

Please sign in to comment.