cinnyapp / cinny

Yet another matrix client
https://cinny.in
GNU Affero General Public License v3.0
1.95k stars 250 forks source link

Homeserver placed wrongly in the ~/register call #682

Closed thepra closed 2 years ago

thepra commented 2 years ago

Describe the bug

As in the image the client can't connect to the endpoint https://chat.zigzag.academy/zigzag.academy/_matrix/client/r0/register because the zigzag.academy part is out of place: immagine

Reproduction

  1. Visit https://chat.zigzag.academy

Expected behavior

Have the call made to https://chat.zigzag.academy/_matrix/client/r0/register given that the server is behind the root domain zigzag.academy meanwhile the client is on chat.zigzag.academy.

Platform and versions

1. OS: Windows 10
2. Browser: Firefox 103
3. Cinny version: 2.0.4
4. Matrix homeserver: zigzag.academy

Additional context

No response

ajbura commented 2 years ago

@thepra , Your .well_known is mis-configured.

ajbura commented 2 years ago

the base_url part specifically [1]

thepra commented 2 years ago

what it should be then? chat.zigzag.academy?

thepra commented 2 years ago

ok, I did look here and understood how to correctly configure it.