# Angular (no Ionic) with capacitor - shouldInterceptRequest issue

**URL:** <https://forum.ionicframework.com/t/angular-no-ionic-with-capacitor-shouldinterceptrequest-issue/199328>\
**Category:** Capacitor\
**Created:** [November 9, 2020, 3:50pm UTC](https://forum.ionicframework.com/t/angular-no-ionic-with-capacitor-shouldinterceptrequest-issue/199328 "2020-11-09T15:50:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmitriy-viniukov](https://avatars.discourse-cdn.com/v4/letter/d/ecd19e/32.png) [@dmitriy-viniukov](https://forum.ionicframework.com/u/dmitriy-viniukov)\
**Post date:** [November 9, 2020, 3:50pm UTC](https://forum.ionicframework.com/t/angular-no-ionic-with-capacitor-shouldinterceptrequest-issue/199328/1 "2020-11-09T15:50:37Z")

</div>

Hi everyone, I am stuck with capacitor configuration for my angular app.

The problem is that when I want to proxy my external server (I set androidScheme and hostname in capacitor config), all xhr requests return 200 and **shouldInterceptRequest** header. But when I proxy the same server running locally (I set url in capacaitor config), it works fine.

So I have these lines in my capacitor.config.json  
`"server": { "hostname": "my-domain.com", "androidScheme": "https" }`

but never get a proper response.

Any help would be appreciated
