Remove reference to nonexistent environment variable
This commit is contained in:
parent
ef26dccb04
commit
7fe950488f
@ -49,8 +49,7 @@ export function App() {
|
|||||||
<Route path="*" element={<NotFoundRoute />} />
|
<Route path="*" element={<NotFoundRoute />} />
|
||||||
</Route>
|
</Route>
|
||||||
)
|
)
|
||||||
),
|
)
|
||||||
{ basename: import.meta.env.VITE_APP_BASENAME }
|
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -163,7 +163,7 @@ export class APIClient {
|
|||||||
// Handle expired tokens
|
// Handle expired tokens
|
||||||
if (status === 412) {
|
if (status === 412) {
|
||||||
AuthApi.UnsetAuthenticated();
|
AuthApi.UnsetAuthenticated();
|
||||||
window.location.href = import.meta.env.VITE_APP_BASENAME;
|
window.location.href = "/";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!args.allowFail && (status < 200 || status > 299))
|
if (!args.allowFail && (status < 200 || status > 299))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user