Updated envar flow

This commit is contained in:
Dunemask 2021-08-21 22:50:36 -06:00
parent c524c985c1
commit 86c71e0e90
4 changed files with 7 additions and 4 deletions

View file

@ -33,7 +33,7 @@ class Stash extends React.Component {
.catch((error) => {
if (error.response && error.response.status === 401)
return window.location.replace(
`${process.env.REACT_APP_CAIRO_URL}${api.cairo.urls.login}?redirectUri=${window.location.href}`
`${process.env.REACT_APP_CAIRO_PUBLIC_URL}${api.cairo.urls.login}?redirectUri=${window.location.href}`
);
console.error("Auth server not up/configured properly!");
});