fixed callback uri

This commit is contained in:
Schnitzel5 2025-08-25 18:42:00 +02:00
parent 31338eb023
commit c973fc2a27
2 changed files with 6 additions and 2 deletions

View file

@ -20,7 +20,9 @@ class Simkl extends _$Simkl implements BaseTracker {
static const _baseOAuthUrl = 'https://simkl.com/oauth';
static const _baseApiUrl = 'https://api.simkl.com';
static final _isDesktop = (Platform.isWindows || Platform.isLinux);
static const _redirectUri = 'http://localhost:43824';
static final _redirectUri = _isDesktop
? 'http://localhost:43824'
: 'mangayomi';
static const _clientId =
'1e0a52930b1bdface4e30c1a94a44641475f3c80b69a5ea939562153fccffb68';
static const _clientSecret =

View file

@ -20,7 +20,9 @@ class TraktTv extends _$TraktTv implements BaseTracker {
static const _baseOAuthUrl = 'https://api.trakt.tv/oauth';
static const _baseApiUrl = 'https://api.trakt.tv';
static final _isDesktop = (Platform.isWindows || Platform.isLinux);
static const _redirectUri = 'http://localhost:43824';
static final _redirectUri = _isDesktop
? 'http://localhost:43824'
: 'mangayomi';
static const _clientId =
'5520c7e24da0d8d73ec80315b61b9849483583b013cb7f296c6db723eb9886a1';
static const _clientSecret =