diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index f9d06d5..4f93139 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -28,7 +28,7 @@
android:icon="@mipmap/ic_launcher"
android:label="Аман Касса"
android:roundIcon="@mipmap/ic_launcher_rounded"
- android:usesCleartextTraffic="true"
+ android:usesCleartextTraffic="false"
android:networkSecurityConfig="@xml/network_security_config"
>
diff --git a/lib/core/services/ApiService.dart b/lib/core/services/ApiService.dart
index 56b2ed8..a852114 100644
--- a/lib/core/services/ApiService.dart
+++ b/lib/core/services/ApiService.dart
@@ -73,7 +73,7 @@ class ApiService extends BaseService {
print(hash);
Map requestBody = {'login': login, 'hash': hash};
- var response = await requestFormData('/hb/pos/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
+ var response = await requestFormData('/halykpos/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
print(response);
return HalykPosSession.fromJson(jsonDecode(response));
}