Fix error logging in lower environments
This commit is contained in:
parent
819d8da83f
commit
53536e79ed
1 changed files with 11 additions and 2 deletions
|
|
@ -11,6 +11,7 @@
|
|||
import issPageValues from '@/router/router-constants/issPage-values';
|
||||
import { validateISSClientTag, validateISSClientSignature } from '@/helpers/clientauth-helper';
|
||||
import { useMainStore } from '@/store';
|
||||
import applicationConfig from '@/constants/application-config';
|
||||
|
||||
export default {
|
||||
name: 'entry-page',
|
||||
|
|
@ -46,8 +47,16 @@ export default {
|
|||
}
|
||||
|
||||
this.mainStore.applicationUser.coverageAttempts = 0;
|
||||
// Forced full location redirect here. We do not want the entry page as part of the router/flow/path history.
|
||||
window.location = `/?issPage=${issPageValues.WELCOME_PAGE}`;
|
||||
if (
|
||||
applicationConfig.CURRENT_ENVIRONMENT === 'Localhost'
|
||||
|| applicationConfig.CURRENT_ENVIRONMENT === 'Dev'
|
||||
|| applicationConfig.CURRENT_ENVIRONMENT === 'SysTest'
|
||||
) {
|
||||
this.navigateForward();
|
||||
} else {
|
||||
// Forced full location redirect here. We do not want the entry page as part of the router/flow/path history.
|
||||
window.location = `/?issPage=${issPageValues.WELCOME_PAGE}`;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods:
|
||||
|
|
|
|||
Loading…
Reference in a new issue