Updated envar flow
This commit is contained in:
parent
c524c985c1
commit
86c71e0e90
4 changed files with 7 additions and 4 deletions
|
@ -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!");
|
||||
});
|
||||
|
|
Reference in a new issue