Invalid API origin when switching back to the official instance from a self-hosted one

(#1873) Bug Fixed mobile self-hosting

Observed behaviour

Invalid API origin

Reproduction steps

  1. Logout and sign into self host
  2. Hold you to login back to official
  3. use api.fluxer.app/v1 (it changes to web.fluxer.app)
  4. Get Invalid API origin

Build information

Version 1.0.0, Beta 25, Channel Beta, Build 90, Android 16 (arm64), Device samsung SM-A156M, Locale en-CA, Push fcm, Flutter 3.44.2, Dart 3.12.2

Platform

Android

Details

Expected behaviour Should be able to login to Fluxers official API
  1. Rex changed the status from Needs triage to Fixed

2 comments

Sign in with Fluxer to comment and vote.
Comment by Radiant Xyz
Can reproduce when trying to switch accounts after logging in with a self-hosted instance, the bottom sheet does not accept the official URL anymore, the "Connect" button is without function when tapping; Version 1.0.0, Beta 32, Channel Beta, Build 2160, Android 16 (arm64), Device samsung SM-S938B, Locale de-DE, Push fcm, Flutter 3.44.5, Dart 3.12.2