High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): add cookie for auxiliary url (#27209)
Mert1506776891e1
diff --git a/mobile/lib/services/auth.service.dart b/mobile/lib/services/auth.service.dartindex c5f3fa6a4a..667681e579 100644--- a/mobile/lib/services/auth.service.dart+++ b/mobile/lib/services/auth.service.dart@@ -67,6 +67,9 @@ class AuthService {bool isValid = false;try {+ final urls = ApiService.getServerUrls();+ urls.add(url);+ await NetworkRepository.setHeaders(ApiService.getRequestHeaders(), urls);final uri = Uri.parse('$url/users/me');final response = await NetworkRepository.client.get(uri);if (response.statusCode == 200) {