gund / ng-http-interceptor

Http Interceptor library for Angular
MIT License
104 stars 16 forks source link

IE console error when using this one. #124

Closed QBTomzhu closed 7 years ago

QBTomzhu commented 7 years ago

Chrome works fine

but for IE 11, if I inject http module and this one, the error in console is

EXCEPTION: 'Proxy' is undefined

the code in App.component is very simple


constructor(private http: Http,
    private httpInterceptor: HttpInterceptorService
  ) {
}
gund commented 7 years ago

Please make sure to read Readme.md: This library uses Proxy from ES6 spec so if you need to support browsers that are ES5 compatible include proxy-polyfill.

Install this library: https://github.com/GoogleChrome/proxy-polyfill

QBTomzhu commented 7 years ago

Sorry, thanks for the replay