Skip to content

Commit

Permalink
chore(project): add test config location
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Aug 3, 2021
1 parent 9780152 commit e4eb284
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@
if (configId) {
window.localStorage.setItem('jwshowcase.config', configId);

window.configLocation =
'https://' + configId + '.jwpapp.com/config.json';
if (configId.includes('test--')) {
window.configLocation = 'https://jw-ott-webapp.s3.eu-central-1.amazonaws.com/' + configId + '.json';
} else {
window.configLocation =
'https://' + configId + '.jwpapp.com/config.json';
}
window.configId = configId;
} else {
window.configLocation = './config.json';
Expand Down

0 comments on commit e4eb284

Please sign in to comment.