ionic-image-loader
ionic-image-loader copied to clipboard
Whitelist domains that use custom header
Only some of my request require a authentication and don't want to send it to every domain. Could we add some kind of white list of domains that should have this header?
this.imageLoaderConfig.setHttpRequestOptions({
headers: {
Authorization: 'Basic dGVzdHVzZXJuYW1lOnRlc3RwYXNzd29yZA=='
}
});