Angular (no Ionic) with capacitor - external server #3780
Unanswered
dmitriy-viniukov
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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 have a proper response.
Any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions