Fix error logging in lower environments

This commit is contained in:
Josh Dassinger 2024-08-08 13:54:05 -05:00
parent 819d8da83f
commit 53536e79ed

View file

@ -11,6 +11,7 @@
import issPageValues from '@/router/router-constants/issPage-values'; import issPageValues from '@/router/router-constants/issPage-values';
import { validateISSClientTag, validateISSClientSignature } from '@/helpers/clientauth-helper'; import { validateISSClientTag, validateISSClientSignature } from '@/helpers/clientauth-helper';
import { useMainStore } from '@/store'; import { useMainStore } from '@/store';
import applicationConfig from '@/constants/application-config';
export default { export default {
name: 'entry-page', name: 'entry-page',
@ -46,8 +47,16 @@ export default {
} }
this.mainStore.applicationUser.coverageAttempts = 0; 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. if (
window.location = `/?issPage=${issPageValues.WELCOME_PAGE}`; 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: methods: