Custom Moodle App prepends www to hostname

Re: Custom Moodle App prepends www to hostname

Nosūtīja Dani Palou
Atbilžu skaits: 0
Core developers attēls Moodle HQ attēls Particularly helpful Moodlers attēls Peer reviewers attēls Plugin developers attēls

Hi Leon,

the Moodle Mobile app always perform the same steps to connect to a site:

  1. Try the input URL with https protocol.
  2. If it fails, add or remove 'www' from the URL and try again with https protocol.
  3. If it fails, try the input URL with http protocol.
  4. If it fails, add or remove 'www' from the URL and try again with http protocol.

If you look at the network tab you should see those 4 requests.

Cheers,

Dani