Using Capacitor, how can I prevent quasar forcing the dev server to an external IP? #15936
Unanswered
inkysquid
asked this question in
CLI - Capacitor / Cordova modes
Replies: 2 comments
-
|
I also have the same problem/request @rstoenescu, would it be possible to allow capacitor mode to run on localhost? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This point is solved in app-vite v3(not released yet) through using capacitor.config.js/ts, and a wrapper under the hood which passes the used settings(e.g. ip, cleartext, etc.) via env variables. |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
For Android development, I'd prefer to use the adb reverse proxy so that the dev server is accessed via localhost on the device. This gives me the following benefits:
I'm currently achieving this by running the following:
Where patch-quasar.js simply removes the offending code from the library. This is not ideal. How can I do this without having to hack the code?
patch-quasar.js:
Beta Was this translation helpful? Give feedback.
All reactions