How do I change https://capacitor to something else?

Is there some way in the capacitor.config.json to change to that the URL serving the pages on Android and iOS devices uses something other than https://capacitor/?

By default they should be as follows:

  • iOS: capacitor://localhost
  • Android: http://localhost

To change them, check out the server section within the Capacitor config - Capacitor Configuration | Capacitor Documentation

1 Like