Skip to content

Commit

Permalink
update eRA
Browse files Browse the repository at this point in the history
  • Loading branch information
bkop-ds committed Sep 16, 2024
1 parent 53c4e80 commit 0b58a31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions confluence.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ export const confluence = async () => {
const loginBoxAppEpisphere = document.getElementById("loginBoxAppEpisphere");
const loginBoxAppProd = document.getElementById("loginBoxAppProd");
const loginBoxAppStage = document.getElementById("loginBoxAppStage");
if (location.origin.match("localhost")) {
if (location.origin.match("localhost")) {
loginBoxAppDev.hidden = false;
document.getElementById("loginBoxDropDown").addEventListener("click", loginAppDev);
};
if (location.origin.match(applicationURLs.stage)) {
if (location.origin.match(applicationURLs.stage)) {
loginBoxAppStage.hidden = false;
document.getElementById("loginBoxDropDown").addEventListener("click", loginObs);
};
Expand Down
2 changes: 1 addition & 1 deletion src/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export const storeAccessTokenERa = async () => {
let parms = searchParms();
if (parms.code) {
//exchange code for authorization token
if (location.origin.match("localhost")) {
if (location.origin.match("localhost") || location.origin.match(applicationURLs.epi)) {
let clt = {};
clt.client_id = 'ff775e46-ec74-46a3-b19f-ee2c60e8cf11';
clt.server_id = '86514167-daf2-4d14-8b9e-84f895190f3f';
Expand Down

0 comments on commit 0b58a31

Please sign in to comment.