Skip to content

Commit

Permalink
Fix prod
Browse files Browse the repository at this point in the history
  • Loading branch information
glmanhtu committed Sep 25, 2018
1 parent e863814 commit 0f10689
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ export function jwtTokenGetter() {
config: {
tokenGetter: jwtTokenGetter,
headerName: 'X-AUTH-TOKEN',
whitelistedDomains: ['wwwdev.ebi.ac.uk'],
blacklistedRoutes: new Array(new RegExp('wwwdev.ebi.ac.uk\/Tools\/omicsdi\/ws\/.*'))
whitelistedDomains: ['wwwdev.ebi.ac.uk', 'www.omicsdi.org', 'omicsdi.org'],
blacklistedRoutes: new Array(
new RegExp('wwwdev.ebi.ac.uk\/Tools\/omicsdi\/ws\/.*'),
new RegExp('www.omicsdi.org\/ws\/.*'))
}
}),
CommonModule,
Expand Down

0 comments on commit 0f10689

Please sign in to comment.