Commit 12e226f8 authored by jcorvi's avatar jcorvi
Browse files

Update app.module.ts

parent 92fcc44e
Pipeline #26906 passed with stage
in 2 minutes and 47 seconds
......@@ -58,7 +58,9 @@ import { environment } from '../environments/environment';
MatProgressBarModule,
OAuthModule.forRoot({
resourceServer: {
allowedUrls: ["http://localhost:8090/","https://etransafe.bsc.es/"],
//allowedUrls: [environment.apiUrl],
//allowedUrls: ["http://localhost:8090/","https://etransafe.bsc.es/"],
allowedUrls: [window.location.protocol + '//' + window.location.hostname],
sendAccessToken: true
}
}),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment